First commit of the V2.

New base, new info.
This commit is contained in:
2019-04-18 00:58:59 +02:00
parent 698b6dd865
commit 31d5f7ade4
185 changed files with 32824 additions and 0 deletions

22
docker-compose.yml Normal file
View File

@ -0,0 +1,22 @@
version: '3'
services:
web:
build: .
command: bash -c "python manage.py makemigrations && python manage.py migrate && gunicorn -w 1 --bind 0.0.0.0:8000 api.wsgi"
container_name: music_service
volumes:
- .:/music_service
ports:
- "8000:8000"
nginx:
build: ./nginx
container_name: ng_server
depends_on:
- web
command: nginx -g 'daemon off;'
ports:
- "80:80"
volumes:
- ./static:/var/www/static