forked from PluralFlux/PluralFlux
initial setup
This commit is contained in:
21
compose.yaml
21
compose.yaml
@@ -1,17 +1,15 @@
|
||||
services:
|
||||
main:
|
||||
build: .
|
||||
image: engineering.sanya.gay/pluralflux/pluralflux-dev
|
||||
container_name: pluralflux
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- pluralflux-net
|
||||
env_file: "secrets.env"
|
||||
postgres:
|
||||
image: postgres:latest
|
||||
container_name: pluralflux-postgres
|
||||
environment:
|
||||
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_pwd
|
||||
secrets:
|
||||
- postgres_pwd
|
||||
env_file: "secrets.env"
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql
|
||||
ports:
|
||||
@@ -23,13 +21,7 @@ services:
|
||||
container_name: pluralflux-pgadmin
|
||||
ports:
|
||||
- "5050:80"
|
||||
environment:
|
||||
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
|
||||
env_file: "secrets.env"
|
||||
depends_on:
|
||||
- postgres
|
||||
networks:
|
||||
@@ -40,7 +32,4 @@ networks:
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
|
||||
secrets:
|
||||
postgres_pwd:
|
||||
file: ./secrets/postgres-password.txt
|
||||
secrets:
|
||||
|
||||
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