chore: align pro port mappings with dev for api and flower

This commit is contained in:
chengkai3
2026-05-02 14:41:50 +08:00
parent 3fbd7be7d6
commit 484b24f53c
2 changed files with 6 additions and 4 deletions
+2
View File
@@ -12,6 +12,8 @@ POSTGRES_PORT=5434
REDIS_PORT=6379
MINIO_API_PORT=9000
MINIO_CONSOLE_PORT=9001
API_PORT=8000
FLOWER_PORT=5555
NEXT_PUBLIC_API_BASE_URL=https://quiz.example.com/api
CELERY_LOG_LEVEL=INFO
+4 -4
View File
@@ -75,8 +75,8 @@ services:
MINIO_ENDPOINT: http://minio:9000
CELERY_BROKER_URL: redis://redis:6379/0
CELERY_RESULT_BACKEND: redis://redis:6379/1
expose:
- "8000"
ports:
- "${API_PORT}:8000"
volumes:
- ./data/app:/app/data
restart: unless-stopped
@@ -150,8 +150,8 @@ services:
CELERY_RESULT_BACKEND: redis://redis:6379/1
CELERY_TIMEZONE: ${CELERY_TIMEZONE}
FLOWER_BASIC_AUTH: ${FLOWER_BASIC_AUTH}
expose:
- "5555"
ports:
- "${FLOWER_PORT}:5555"
restart: unless-stopped
web: