From 77191566e39b108f6157a873de359b399fa23d8a Mon Sep 17 00:00:00 2001 From: laika Date: Wed, 25 Feb 2026 23:18:48 +1100 Subject: [PATCH] initial setup --- compose.yaml | 21 +++++---------------- secrets.env | 6 ++++++ 2 files changed, 11 insertions(+), 16 deletions(-) create mode 100644 secrets.env diff --git a/compose.yaml b/compose.yaml index eccef16..a712a2b 100644 --- a/compose.yaml +++ b/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: diff --git a/secrets.env b/secrets.env new file mode 100644 index 0000000..2989b21 --- /dev/null +++ b/secrets.env @@ -0,0 +1,6 @@ +FLUXER_BOT_TOKEN= +POSTGRES_PASSWORD= +PGADMIN_DEFAULT_EMAIL: +PGADMIN_DEFAULT_PASSWORD: +PGADMIN_CONFIG_SERVER_MODE: 'False' +PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'