Skip to content

Commit

Permalink
Modify docker-compose.yml to make use of dev startup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
vikoivun committed May 18, 2020
1 parent 3126b0d commit fe7656b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,20 @@ services:
django:
build:
context: ./
dockerfile: ./docker/django/Dockerfile
target: development
dockerfile: ./Dockerfile
environment:
- APPLY_MIGRATIONS=true
- CREATE_SUPERUSER=true
- DEBUG=true
- DATABASE_URL=postgis://linkedevents:linkedevents@postgres/linkedevents
- DEV_SERVER=true
- RUNSERVER_ADDRESS=0.0.0.0:8000
- WAIT_FOR_IT_ADDRESS=postgres:5432
env_file:
- config_dev.env
volumes:
- .:/app:cached
- django-media-volume:/var/media/
- .:/linkedevents:cached
- django-media-volume:/srv/media
- $HOME/maintenance:/maintenance
- $HOME/le_logs:/logs
- $HOME/le_input:/kulke_input
command: ["start_django_development_server"]
ports:
- "127.0.0.1:8000:8000"

Expand Down

0 comments on commit fe7656b

Please sign in to comment.