now the ports cannot be assigned twice, also simmilar application names work

This commit is contained in:
pika 2025-04-03 11:58:17 +02:00
parent e5300424ef
commit e9d1f985ae
7 changed files with 57 additions and 106 deletions

View file

@ -7,10 +7,10 @@ services:
dockerfile: Dockerfile
# image: homedocs:latest
ports:
- "8000:8000"
- "5001:8000"
volumes:
- ./instance:/app/instance # Persist SQLite database
environment:
- FLASK_ENV=${FLASK_ENV:-production}
- SECRET_KEY=${SECRET_KEY:-} # Will be generated if empty
# environment:
# - FLASK_ENV=${FLASK_ENV:-dev}
# - SECRET_KEY=99c8b81f5ed79702c5c2bf1f60a7cdbe4ee58d168cf36b13343c3529ff215637 # Will be generated if empty
restart: unless-stopped