feat: Первый коммит

This commit is contained in:
2021-04-09 00:26:44 +03:00
parent 4375da2c2e
commit ef43c10abb
14 changed files with 377 additions and 73 deletions

View File

@@ -0,0 +1,20 @@
version: "3"
services:
db:
image: postgres
volumes:
- ./data/db:/var/lib/postgresql/data
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
web:
build: .
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/code
ports:
- "8000:8000"
depends_on:
- db