summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-04-19 18:52:42 +0200
committerMax Magorsch <arzano@gentoo.org>2020-04-19 18:52:42 +0200
commit9c5338c49ca2a0161282dccb9b38f0507e1fbcfb (patch)
tree80a016b63728c9417193059c3fbd444376db85ca
parentdocker-compose: Make the port configurable (diff)
downloadglsamaker-9c5338c49ca2a0161282dccb9b38f0507e1fbcfb.tar.gz
glsamaker-9c5338c49ca2a0161282dccb9b38f0507e1fbcfb.tar.bz2
glsamaker-9c5338c49ca2a0161282dccb9b38f0507e1fbcfb.zip
docker-compose: Change the name of the postgress pass variable
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rw-r--r--docker-compose.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 3b1b528..4fbd859 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -14,6 +14,7 @@ services:
restart: always
environment:
GLSAMAKER_LOG_FILE: '/var/log/glsamaker/web.log'
+ GLSAMAKER_POSTGRES_PASS: ${GLSAMAKER_POSTGRES_PASS:-root}
command: "/go/src/glsamaker/bin/glsamaker --serve"
depends_on:
- db
@@ -27,6 +28,7 @@ services:
com.centurylinklabs.watchtower.enable: "true"
environment:
GLSAMAKER_LOG_FILE: '/var/log/glsamaker/updater.log'
+ GLSAMAKER_POSTGRES_PASS: ${GLSAMAKER_POSTGRES_PASS:-root}
command: "/go/src/glsamaker/bin/glsamaker --full-update"
depends_on:
- db
@@ -35,7 +37,7 @@ services:
restart: always
environment:
POSTGRES_USER: ${GLSAMAKER_POSTGRES_USER:-root}
- POSTGRES_PASSWORD: ${GLSAMAKER_POSTGRES_PASSWORD:-root}
+ POSTGRES_PASSWORD: ${GLSAMAKER_POSTGRES_PASS:-root}
POSTGRES_DB: ${GLSAMAKER_POSTGRES_DB:-glsamaker}
volumes:
- ${GLSAMAKER_POSTGRES_DATA_PATH:-/var/lib/postgresql/data}:/var/lib/postgresql/data