Skip to content

Commit a9353a8

Browse files
committed
Change the default app bind port
1 parent 2c87541 commit a9353a8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.env.example

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ DB_PORT=5432
3333
CELERY_BROKER_URL=redis://localhost:6379
3434
CELERY_RESULT_BACKEND=redis://localhost:6379
3535

36+
# App Settings
37+
APP_BIND_PORT=8234 # Port on host machine to bind the application
38+
3639
# Superuser credentials
3740
SUPERUSER_EMAIL=[email protected]
3841
SUPERUSER_PASSWORD=admin123

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
volumes:
99
- .:/app
1010
ports:
11-
- "8000:8000"
11+
- "${APP_BIND_PORT:-8234}:8000"
1212
env_file:
1313
- .env
1414
depends_on:

0 commit comments

Comments
 (0)