Created
March 3, 2021 05:42
-
-
Save Sebuliba-Adrian/773868510fed231c1b973404af29bb6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
web: | |
build: . | |
command: python /src/manage.py runserver 0.0.0.0:8000 | |
volumes: | |
- .:/src | |
ports: | |
- 8000:8000 | |
depends_on: | |
- db | |
db: | |
environment: | |
# - "POSTGRES_HOST_AUTH_METHOD=trust" | |
POSTGRES_PASSWORD: password | |
image: postgres:12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment