Created
March 11, 2018 18:57
-
-
Save wilk/f854a677a19609ee9e703c4f52c7740b to your computer and use it in GitHub Desktop.
docker-compose.yml
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" | |
services: | |
django-app: | |
image: your_django_image:version | |
build: | |
context: ./app | |
env_file: .env | |
ports: | |
- "8080:80" | |
redis: | |
image: redis:4.0.8-alpine | |
db: | |
image: postgres:10.3-alpine | |
volumes: | |
- db:/var/lib/postgresql/data | |
celery: | |
image: custom-celery-image:1.0.0 | |
volumes: | |
- db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment