version: "3"
services:
web:
build: .
command: gunicorn core.wsgi -b 0.0.0.0:8000 # gunicorn対応
environment:
APPLICATION_NAME: django-docker-template
ENVIRONMENT: development
SECRET_KEY:
DEBUG: 1
volumes:
- .:/app
ports:
- 8000:8000
depends_on:
- db
db:
image: postgres:11
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- "POSTGRES_HOST_AUTH_METHOD=trust"
volumes:
postgres_data:
-
Notifications
You must be signed in to change notification settings - Fork 0
Template Repository for Django+Docker
License
joshua-hashimoto/django-docker-template
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Template Repository for Django+Docker
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published