Commit e53c0f15 authored by Odair M.'s avatar Odair M.
Browse files

atualiza o docker-compose, para faze migrate e iniciar o servidor web

parent 733df384
......@@ -8,7 +8,11 @@ services:
- POSTGRES_DB=adega
web:
build: .
command: python3 ./src/manage.py makemigrations degree
command: python3 ./src/manage.py makemigrations uploads
command: python3 ./src/manage.py makemigrations educator
command: python3 ./src/manage.py migrate
command: python3 ./src/manage.py runserver 0.0.0.0:8000
volumes:
- .:/adega
ports:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment