feat(web): support /fl base path deployment
This commit is contained in:
@@ -16,6 +16,7 @@ API_PORT=8000
|
||||
FLOWER_PORT=5555
|
||||
|
||||
NEXT_PUBLIC_API_BASE_URL=https://quiz.example.com/api
|
||||
NEXT_PUBLIC_APP_BASE_PATH=/fl
|
||||
CELERY_LOG_LEVEL=INFO
|
||||
CELERY_WORKER_CONCURRENCY=4
|
||||
CELERY_WORKER_QUEUES=default,celery
|
||||
|
||||
@@ -52,5 +52,7 @@ POSTGRES_DB=fquiz
|
||||
POSTGRES_USER=fquiz
|
||||
POSTGRES_PASSWORD=replace_strong_password
|
||||
|
||||
NEXT_PUBLIC_APP_BASE_PATH=/fl
|
||||
|
||||
API_CORS_ORIGINS=https://quiz.example.com
|
||||
API_CORS_ORIGIN_REGEX=
|
||||
|
||||
@@ -160,6 +160,7 @@ services:
|
||||
- api
|
||||
environment:
|
||||
NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL}
|
||||
NEXT_PUBLIC_APP_BASE_PATH: ${NEXT_PUBLIC_APP_BASE_PATH:-/fl}
|
||||
NODE_ENV: production
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
||||
Reference in New Issue
Block a user