Skip to content

Commit

Permalink
update commands.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anazalu committed Dec 23, 2023
1 parent 8da6608 commit ae407ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ae407ff

Please sign in to comment.