From fc588480cda8778dbc8c68ffd8117bcab0040e89 Mon Sep 17 00:00:00 2001 From: Aster Fialla Date: Thu, 12 Feb 2026 20:32:45 -0500 Subject: [PATCH] moved secrets around a little --- .gitignore | 2 +- compose.yaml | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index edfb386..3181764 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,4 @@ riderModule.iml /_ReSharper.Caches/ .idea config.yml -postgres_pwd.txt \ No newline at end of file +secrets/ \ No newline at end of file diff --git a/compose.yaml b/compose.yaml index b507e39..d0e50ba 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,9 +1,4 @@ services: - pluralflux: - image: pluralflux - build: - context: . - dockerfile: Dockerfile postgres: image: postgres:latest container_name: pluralflux-postgres @@ -12,7 +7,7 @@ secrets: - postgres_pwd volumes: - - pgdata:/var/lib/postgresql/data + - pgdata:/var/lib/postgresql ports: - "5432:5432" pgadmin: @@ -21,7 +16,7 @@ - 5050:80 environment: # Required by pgAdmin - PGADMIN_DEFAULT_EMAIL: pieartsy@pm.me + PGADMIN_DEFAULT_EMAIL: /run/secrets/postgres_email PGADMIN_DEFAULT_PASSWORD: /run/secrets/postgres_pwd # Don't require the user to login PGADMIN_CONFIG_SERVER_MODE: 'False' @@ -29,10 +24,13 @@ PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False' secrets: - postgres_pwd + - postgres_email volumes: pgdata: secrets: postgres_pwd: - file: ./postgres_pwd.txt \ No newline at end of file + file: secrets/postgres_password.txt + postgres_email: + file: ./postgres-email.txt \ No newline at end of file