From ae407ff786302238e22887c726faa2b290a3b065 Mon Sep 17 00:00:00 2001 From: anazalu Date: Sat, 23 Dec 2023 11:51:13 +0200 Subject: [PATCH] update commands.md --- commands.md | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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: