From a745cc61cccf687bcf4cf7fc0e492a1b830e64bd Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 28 Apr 2024 21:19:58 -0400 Subject: [PATCH] picsur --- stack.production.yml | 2 -- stack.staging.yml | 8 +++----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/stack.production.yml b/stack.production.yml index 01b83a8..4bc9dbc 100644 --- a/stack.production.yml +++ b/stack.production.yml @@ -35,8 +35,6 @@ services: networks: - traefik - default - volumes: - - /mnt/tank/persist/nixc.us/picsur/production/data:/var/www/html/picsur deploy: placement: constraints: diff --git a/stack.staging.yml b/stack.staging.yml index 7fb4ff6..98fa3d4 100644 --- a/stack.staging.yml +++ b/stack.staging.yml @@ -9,9 +9,9 @@ x-environment: &default-environment # PICSUR_PORT: 8080 PICSUR_DB_HOST: postgres PICSUR_DB_PORT: 5432 - PICSUR_DB_USERNAME: *POSTGRES_USER - PICSUR_DB_PASSWORD: *POSTGRES_PASSWORD - PICSUR_DB_DATABASE: *POSTGRES_DB + PICSUR_DB_USERNAME: ${POSTGRES_USER} + PICSUR_DB_PASSWORD: ${POSTGRES_PASSWORD} + PICSUR_DB_DATABASE: ${POSTGRES_DB} ## The default username is admin, this is not modifyable PICSUR_ADMIN_PASSWORD: Jc4SfnnvBD9w3E4w6si8FnreQ8zoUxRco ## Optional, random secret will be generated if not set @@ -35,8 +35,6 @@ services: networks: - traefik - default - volumes: - - /mnt/tank/persist/nixc.us/picsur/staging/data:/var/www/html/picsur deploy: placement: constraints: