fix:#00 always restart containers and change rules of oci build jobs

This commit is contained in:
Justinodactylus
2024-02-07 00:32:45 +01:00
parent 306cb0f891
commit bad8140ad5
2 changed files with 7 additions and 3 deletions

View File

@ -5,6 +5,7 @@ services:
image: DOCKER_REGISTRY_REPO:backend # DOCKER_REGISTRY_REPO will be replaced by CI
command: "--http=0.0.0.0:8090 --dir=/htwkalender/data/pb_data"
pull_policy: always
restart: always
# open port 8090
ports:
- "8090:8090"
@ -14,6 +15,7 @@ services:
htwkalender-frontend:
image: DOCKER_REGISTRY_REPO:frontend # DOCKER_REGISTRY_REPO will be replaced by CI
pull_policy: always
restart: always
ports:
- "8000:8000"
depends_on:
@ -21,6 +23,7 @@ services:
rproxy:
image: bitnami/nginx:1.25
restart: always
volumes:
- ./reverseproxy.conf:/opt/bitnami/nginx/conf/nginx.conf
depends_on: