fix docker-compose port

This commit is contained in:
2025-09-16 10:07:16 +02:00
parent 068691b639
commit 3e118d7538

View File

@@ -6,14 +6,13 @@ services:
image: lan-web:latest image: lan-web:latest
restart: unless-stopped restart: unless-stopped
ports: ports:
- "${APP_PORT:-8081}:${APP_PORT:-8081}" - 8081:8081
env_file: env_file:
- .env - .env
volumes: volumes:
- ./:/app:ro - ./:/app:ro
healthcheck: healthcheck:
test: test: ["CMD-SHELL", "curl -f http://localhost:8081/ || exit 1"]
["CMD-SHELL", "curl -f http://localhost:${APP_PORT:-8081}/ || exit 1"]
interval: 30s interval: 30s
timeout: 5s timeout: 5s
retries: 3 retries: 3