Skip to content

Commit

Permalink
Change the default app bind port
Browse files Browse the repository at this point in the history
  • Loading branch information
aahnik committed Dec 30, 2024
1 parent 2c87541 commit a9353a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ DB_PORT=5432
CELERY_BROKER_URL=redis://localhost:6379
CELERY_RESULT_BACKEND=redis://localhost:6379

# App Settings
APP_BIND_PORT=8234 # Port on host machine to bind the application

# Superuser credentials
SUPERUSER_EMAIL=[email protected]
SUPERUSER_PASSWORD=admin123
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
volumes:
- .:/app
ports:
- "8000:8000"
- "${APP_BIND_PORT:-8234}:8000"
env_file:
- .env
depends_on:
Expand Down

0 comments on commit a9353a8

Please sign in to comment.