Skip to content

Instantly share code, notes, and snippets.

@Sebuliba-Adrian
Created March 3, 2021 05:42
Show Gist options
  • Save Sebuliba-Adrian/773868510fed231c1b973404af29bb6a to your computer and use it in GitHub Desktop.
Save Sebuliba-Adrian/773868510fed231c1b973404af29bb6a to your computer and use it in GitHub Desktop.
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