Skip to content
Snippets Groups Projects
Commit 87f1071c authored by Björn Fischer's avatar Björn Fischer :new_moon_with_face:
Browse files

auto-restart

parent accf4ad5
Branches
Tags
1 merge request!752.1.0
version: '3'
services:
db:
restart: always
volumes:
- '/data/volumes/subato2-postgresql:/var/lib/postgresql/data'
- '.sql:/docker-entrypoint-initdb.d'
......@@ -11,6 +12,7 @@ services:
POSTGRES_PASSWORD: ${SUBATO2_DB_PASSWORD}
POSTGRES_DB: subato2
subato-web:
restart: always
image: gitlab.cs.hs-rm.de:4567/sls/subato2/subato2-web/prod:${SUBATO2_VER}
pull_policy: always
ports:
......@@ -23,6 +25,7 @@ services:
- '/data/volumes/certs/subato.local.cs.hs-rm.de.key:/usr/local/apache2/conf/server.key'
- '/data/volumes/certs/subato.local.cs.hs-rm.de.crt:/usr/local/apache2/conf/server.crt'
subato:
restart: always
image: gitlab.cs.hs-rm.de:4567/sls/subato2/subato2/prod:${SUBATO2_VER}
pull_policy: always
ports:
......
version: '3'
services:
db:
restart: always
volumes:
- '/data/volumes/subato2-postgresql:/var/lib/postgresql/data'
- '.sql:/docker-entrypoint-initdb.d'
......@@ -11,6 +12,7 @@ services:
POSTGRES_PASSWORD: ${SUBATO2_DB_PASSWORD}
POSTGRES_DB: subato2
subato-web:
restart: always
image: gitlab.cs.hs-rm.de:4567/sls/subato2/subato2-web/test:${SUBATO2_VER}
pull_policy: always
ports:
......@@ -19,6 +21,7 @@ services:
- VIRTUAL_HOST=subato-test2.local.cs.hs-rm.de
- VIRTUAL_PORT=80
subato:
restart: always
image: gitlab.cs.hs-rm.de:4567/sls/subato2/subato2/test:${SUBATO2_VER}
pull_policy: always
ports:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment