| 1 |
version: "3" |
| 2 |
services: |
| 3 |
web: |
| 4 |
build: |
| 5 |
context: ./ |
| 6 |
dockerfile: Dockerfile |
| 7 |
volumes: |
| 8 |
- ./example:/code/example/ |
| 9 |
- ../../allauth:/code/allauth |
| 10 |
- ./db:/srv/db |
| 11 |
environment: |
| 12 |
DATABASE_NAME: /srv/db/example.db |
| 13 |
ports: |
| 14 |
- 8000:8000 |
| 15 |
command: |
| 16 |
- make |
| 17 |
- migrate |
| 18 |
- runserver |