Created
February 29, 2016 19:36
-
-
Save Nagasaki45/15f22aeb60e49d1c30d3 to your computer and use it in GitHub Desktop.
docker-compose configuration for Xteams production environment
This file contains hidden or 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
nginx: | |
build: ./nginx | |
volumes_from: | |
- web | |
ports: | |
- "9768:8000" | |
links: | |
- web | |
restart: always | |
web: | |
build: . | |
command: gunicorn xteams.wsgi -b 0.0.0.0:8000 | |
links: | |
- db | |
volumes: | |
- /staticfiles | |
restart: always | |
env_file: ./env_file | |
db: | |
image: postgres | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment