Update Dokploy compose for prod/staging
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-24 11:12:53 +01:00
parent ce43cac145
commit 35d8c94c11
2 changed files with 0 additions and 59 deletions

View File

@@ -65,10 +65,8 @@ services:
- app-code:/var/www/html - app-code:/var/www/html
- app-storage:/var/www/html/storage - app-storage:/var/www/html/storage
- app-bootstrap-cache:/var/www/html/bootstrap/cache - app-bootstrap-cache:/var/www/html/bootstrap/cache
- photobooth-import:/var/www/html/storage/app/photobooth
networks: networks:
- default - default
- photobooth-network
depends_on: depends_on:
mysql: mysql:
condition: service_healthy condition: service_healthy
@@ -150,18 +148,6 @@ services:
condition: service_completed_successfully condition: service_completed_successfully
app: app:
condition: service_healthy condition: service_healthy
labels:
- traefik.enable=true
- traefik.http.middlewares.fotospiel-https-redirect.redirectscheme.scheme=https
- traefik.http.routers.fotospiel-http.rule=Host(`test-y0k0.fotospiel.app`)
- traefik.http.routers.fotospiel-http.entrypoints=web
- traefik.http.routers.fotospiel-http.middlewares=fotospiel-https-redirect
- traefik.http.routers.fotospiel-https.rule=Host(`test-y0k0.fotospiel.app`)
- traefik.http.routers.fotospiel-https.entrypoints=websecure
- traefik.http.routers.fotospiel-https.tls=true
- traefik.http.routers.fotospiel-https.service=fotospiel-web
- traefik.http.services.fotospiel-web.loadbalancer.server.port=80
- traefik.docker.network=dokploy-network
volumes: volumes:
- app-code:/var/www/html:ro - app-code:/var/www/html:ro
- app-storage:/var/www/html/storage:ro - app-storage:/var/www/html/storage:ro
@@ -174,41 +160,6 @@ services:
- dokploy-network - dokploy-network
restart: unless-stopped restart: unless-stopped
photobooth-ftp:
build:
context: ./docker/photobooth-control
image: ${PHOTOBOOTH_CONTROL_IMAGE_REPO:-fotospiel-photobooth-control}:${PHOTOBOOTH_CONTROL_IMAGE_TAG:-latest}
env_file:
- path: .env
environment:
CONTROL_TOKEN: ${PHOTOBOOTH_CONTROL_TOKEN}
FTP_PUBLIC_HOST: ${PHOTOBOOTH_FTP_ADDRESS:-test-y0k0.fotospiel.app}
FTP_PORT: ${PHOTOBOOTH_FTP_PORT:-2121}
FTP_PASSIVE_MIN: ${PHOTOBOOTH_FTP_PASV_MIN_PORT:-30000}
FTP_PASSIVE_MAX: ${PHOTOBOOTH_FTP_PASV_MAX_PORT:-30009}
REQUIRE_FTPS: ${PHOTOBOOTH_REQUIRE_FTPS:-0}
PHOTOBOOTH_ROOT: /photobooth
FTP_SYSTEM_USER: ${PHOTOBOOTH_FTP_USER:-ftpuser}
FTP_SYSTEM_GROUP: ${PHOTOBOOTH_FTP_GROUP:-ftpgroup}
FTP_MAX_CLIENTS: ${PHOTOBOOTH_FTP_MAX_CLIENTS:-50}
FTP_MAX_PER_IP: ${PHOTOBOOTH_FTP_MAX_PER_IP:-10}
volumes:
- photobooth-import:/photobooth
- photobooth-ftp-auth:/etc/pure-ftpd
ports:
- "${PHOTOBOOTH_FTP_PORT:-2121}:21"
- "${PHOTOBOOTH_FTP_PASV_MIN_PORT:-30000}-${PHOTOBOOTH_FTP_PASV_MAX_PORT:-30009}:${PHOTOBOOTH_FTP_PASV_MIN_PORT:-30000}-${PHOTOBOOTH_FTP_PASV_MAX_PORT:-30009}"
networks:
- dokploy-network
- photobooth-network
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/health >/dev/null 2>&1 && nc -z localhost 21"]
interval: 30s
timeout: 10s
retries: 5
start_period: 10s
restart: unless-stopped
queue: queue:
image: ${APP_IMAGE_REPO:-fotospiel-app}:${APP_IMAGE_TAG:-latest} image: ${APP_IMAGE_REPO:-fotospiel-app}:${APP_IMAGE_TAG:-latest}
env_file: env_file:
@@ -223,7 +174,6 @@ services:
- app-bootstrap-cache:/var/www/html/bootstrap/cache - app-bootstrap-cache:/var/www/html/bootstrap/cache
networks: networks:
- default - default
- photobooth-network
depends_on: depends_on:
app: app:
condition: service_healthy condition: service_healthy
@@ -247,7 +197,6 @@ services:
- app-bootstrap-cache:/var/www/html/bootstrap/cache - app-bootstrap-cache:/var/www/html/bootstrap/cache
networks: networks:
- default - default
- photobooth-network
depends_on: depends_on:
app: app:
condition: service_healthy condition: service_healthy
@@ -271,7 +220,6 @@ services:
- app-bootstrap-cache:/var/www/html/bootstrap/cache - app-bootstrap-cache:/var/www/html/bootstrap/cache
networks: networks:
- default - default
- photobooth-network
depends_on: depends_on:
app: app:
condition: service_healthy condition: service_healthy
@@ -291,10 +239,8 @@ services:
- app-code:/var/www/html - app-code:/var/www/html
- app-storage:/var/www/html/storage - app-storage:/var/www/html/storage
- app-bootstrap-cache:/var/www/html/bootstrap/cache - app-bootstrap-cache:/var/www/html/bootstrap/cache
- photobooth-import:/var/www/html/storage/app/photobooth
networks: networks:
- default - default
- photobooth-network
depends_on: depends_on:
app: app:
condition: service_healthy condition: service_healthy
@@ -314,7 +260,6 @@ services:
- app-bootstrap-cache:/var/www/html/bootstrap/cache - app-bootstrap-cache:/var/www/html/bootstrap/cache
networks: networks:
- default - default
- photobooth-network
depends_on: depends_on:
app: app:
condition: service_healthy condition: service_healthy
@@ -359,13 +304,9 @@ volumes:
name: fotospiel-${APP_ENV:-prod}-storage name: fotospiel-${APP_ENV:-prod}-storage
app-bootstrap-cache: app-bootstrap-cache:
nuget-cache: nuget-cache:
photobooth-import:
photobooth-ftp-auth:
mysql-data: mysql-data:
redis-data: redis-data:
networks: networks:
dokploy-network: dokploy-network:
external: true external: true
photobooth-network:
name: fotospiel-${APP_ENV:-prod}-photobooth

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 MiB