forked from PluralFlux/PluralFlux
initial setup
This commit is contained in:
21
compose.yaml
21
compose.yaml
@@ -1,17 +1,15 @@
|
|||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
build: .
|
image: engineering.sanya.gay/pluralflux/pluralflux-dev
|
||||||
container_name: pluralflux
|
container_name: pluralflux
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- pluralflux-net
|
- pluralflux-net
|
||||||
|
env_file: "secrets.env"
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
container_name: pluralflux-postgres
|
container_name: pluralflux-postgres
|
||||||
environment:
|
env_file: "secrets.env"
|
||||||
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_pwd
|
|
||||||
secrets:
|
|
||||||
- postgres_pwd
|
|
||||||
volumes:
|
volumes:
|
||||||
- pgdata:/var/lib/postgresql
|
- pgdata:/var/lib/postgresql
|
||||||
ports:
|
ports:
|
||||||
@@ -23,13 +21,7 @@ services:
|
|||||||
container_name: pluralflux-pgadmin
|
container_name: pluralflux-pgadmin
|
||||||
ports:
|
ports:
|
||||||
- "5050:80"
|
- "5050:80"
|
||||||
environment:
|
env_file: "secrets.env"
|
||||||
PGADMIN_DEFAULT_EMAIL: code@asterfialla.com
|
|
||||||
PGADMIN_DEFAULT_PASSWORD_FILE: /run/secrets/postgres_pwd
|
|
||||||
PGADMIN_CONFIG_SERVER_MODE: 'False'
|
|
||||||
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
|
|
||||||
secrets:
|
|
||||||
- postgres_pwd
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
networks:
|
networks:
|
||||||
@@ -40,7 +32,4 @@ networks:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
|
secrets:
|
||||||
secrets:
|
|
||||||
postgres_pwd:
|
|
||||||
file: ./secrets/postgres-password.txt
|
|
||||||
|
|||||||
6
secrets.env
Normal file
6
secrets.env
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
FLUXER_BOT_TOKEN=<your bot token here>
|
||||||
|
POSTGRES_PASSWORD=<your postgres password here>
|
||||||
|
PGADMIN_DEFAULT_EMAIL: <default postgres admin login>
|
||||||
|
PGADMIN_DEFAULT_PASSWORD: <your postgres password here>
|
||||||
|
PGADMIN_CONFIG_SERVER_MODE: 'False'
|
||||||
|
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
|
||||||
Reference in New Issue
Block a user