This commit is contained in:
Philip Cheung 2024-10-07 20:47:26 +08:00
parent dadc2cec38
commit 91490395c2
1 changed files with 5 additions and 2 deletions

View File

@ -36,13 +36,16 @@ services:
- traefik.http.services.${STACK_NAME?Variable not set}-adminer.loadbalancer.server.port=8080
backend:
image: '${DOCKER_IMAGE_BACKEND?Variable not set}:${TAG-latest}'
image: "${DOCKER_IMAGE_BACKEND?Variable not set}:${TAG-latest}"
restart: always
networks:
- traefik-public
- default
depends_on:
- db
volumes:
- ./backend/static:/static
env_file:
- .env
environment:
@ -93,7 +96,7 @@ services:
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-https.middlewares=${STACK_NAME?Variable not set}-www-redirect
frontend:
image: '${DOCKER_IMAGE_FRONTEND?Variable not set}:${TAG-latest}'
image: "${DOCKER_IMAGE_FRONTEND?Variable not set}:${TAG-latest}"
restart: always
networks:
- traefik-public