Skip to content

Commit

Permalink
updating compose file for local env
Browse files Browse the repository at this point in the history
  • Loading branch information
qtrinh2 committed Nov 20, 2024
1 parent a3bd083 commit de4b738
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions django/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ services:
- OBJ_STORAGE_ENDPOINT_URL=https://dev.obj.rrchnm.org
ports:
- "1337:8000"
# command: sh -c "sleep 99999"
command: >
sh -c "poetry run python manage.py migrate &&
poetry run python manage.py runserver 0.0.0.0:8000"
#volumes:
# - .:/app
volumes:
- .:/app
depends_on:
db:
condition: service_healthy
Expand Down

0 comments on commit de4b738

Please sign in to comment.