This commit is contained in:
2025-12-05 19:38:25 +01:00
parent 5862b88a6d
commit 2808146ad5

View File

@@ -2,6 +2,8 @@ version: "3.9"
networks: networks:
backend: backend:
traefik:
external: true
volumes: volumes:
mysql_data: mysql_data:
@@ -89,13 +91,18 @@ services:
depends_on: depends_on:
app: app:
condition: service_started condition: service_started
ports:
- "80:80"
networks: networks:
- backend - backend
- traefik
volumes: volumes:
- storage_data:/var/www/html/storage:ro - storage_data:/var/www/html/storage:ro
- bootstrap_cache:/var/www/html/bootstrap/cache:ro - bootstrap_cache:/var/www/html/bootstrap/cache:ro
labels:
- "traefik.enable=true"
- "traefik.http.routers.stylegallery.rule=Host(`stylegallery.fotospiel.app`)"
- "traefik.http.routers.stylegallery.entrypoints=websecure"
- "traefik.http.routers.stylegallery.tls=true"
- "traefik.http.services.stylegallery.loadbalancer.server.port=80"
mysql: mysql:
image: mysql:8.0 image: mysql:8.0