diff --git a/commands.md b/commands.md index cc28924..f7eeb8d 100644 --- a/commands.md +++ b/commands.md @@ -41,6 +41,7 @@ docker run --name my-mysql-container -d my-mysql-image docker exec -it 22e79424cbac sh docker compose up docker compose up --build +docker compose down ``` ### Postgres diff --git a/docker-compose.yml b/docker-compose.yml index caca402..4dc1576 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: - POSTGRES_PASSWORD=postgres web: build: ./back - command: python manage.py migrate && python manage.py runserver 0.0.0.0:8000 + command: python manage.py runserver 0.0.0.0:8000 # python manage.py migrate && volumes: - ./back:/code ports: