services: web: image: nginx:stable-alpine volumes: - .docker/web/nginx.conf:/etc/nginx/conf.d/default.conf depends_on: - app - db networks: - app labels: traefik.enable: "true" traefik.http.routers.sflogs.entrypoints: web traefik.http.routers.sflogs.rule: "Host(`sflogs.test`)" traefik.http.services.sflogs.loadbalancer.server.port: 80 app: build: context: . dockerfile: .docker/app/Dockerfile user: ${UID:-1000}:${GID:-1000} volumes: - .:/app working_dir: /app depends_on: - db environment: - XDEBUG_MODE=debug,coverage - COMPOSER_HOME=/tmp networks: - app db: image: postgres:16 environment: POSTGRES_DB: db POSTGRES_USER: db POSTGRES_PASSWORD: db networks: - app networks: app: