aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yaml
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-03-16 05:47:37 +0000
committerterminaldweller <thabogre@gmail.com>2022-03-16 05:47:37 +0000
commit1d05064b590d119065495a6d9ce30ae2d4aab05d (patch)
treeb72546f16c7952060ea903b39ce19933f22fe884 /docker-compose.yaml
parentadded a new doc class, added self-signed certs to the docker image (diff)
downloadmdrtl-1d05064b590d119065495a6d9ce30ae2d4aab05d.tar.gz
mdrtl-1d05064b590d119065495a6d9ce30ae2d4aab05d.zip
wip
Diffstat (limited to 'docker-compose.yaml')
-rw-r--r--docker-compose.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml
index f92cc94..a357384 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
- springnet
cap_drop:
- ALL
+ environment:
+ - DOCKER_DEPLOYMENT_TYPE=deployment
postgres:
image: postgres:14-alpine
networks:
@@ -17,7 +19,7 @@ services:
volumes:
- db-data:/var/lib/postgresql/14/
ports:
- - "5432:5432"
+ - "127.0.0.1:5432:5432"
environment:
- POSTGRES_PASSWORD_FILE=/run/secrets/pg_pass_secret
- POSTGRES_USER_FILE=/run/secrets/pg_user_secret