Skip to content

Commit

Permalink
added db bootstrap (migrate)
Browse files Browse the repository at this point in the history
  • Loading branch information
PazBazak committed Dec 29, 2020
1 parent 3cc1176 commit 2a0740c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ services:
command: sh -c "python manage.py runserver 0.0.0.0:8000"
environment:
- DEBUG=1
depends_on:
- migration

migration:
image: yolobazak/linearb-atm_app
command: python manage.py migrate --noinput
volumes:
- ./ATM_api:/ATM_api



0 comments on commit 2a0740c

Please sign in to comment.