initial commit
This commit is contained in:
commit
53df5c5035
69 changed files with 4139 additions and 0 deletions
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:13
|
||||
env_file: .env
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
networks:
|
||||
- main
|
||||
web:
|
||||
build: .
|
||||
env_file: .env
|
||||
command: python manage.py runserver 0.0.0.0:8000
|
||||
volumes:
|
||||
- .:/app
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
- main
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
pgdata:
|
||||
networks:
|
||||
main:
|
||||
Loading…
Add table
Add a link
Reference in a new issue