Created
June 25, 2015 14:02
-
-
Save kooba/2c1e8c855ab0897ea784 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
web: | |
restart: always | |
build: ./web | |
expose: | |
- "8000" | |
links: | |
- postgres:postgres | |
env_file: .env | |
command: /usr/local/bin/gunicorn mycms.wsgi:application -w 2 -b :8000 | |
nginx: | |
restart: always | |
build: ./nginx/ | |
ports: | |
- "80:80" | |
volumes: | |
- /www/static | |
volumes_from: | |
- web | |
links: | |
- web:web | |
postgres: | |
restart: always | |
image: postgres:latest | |
volumes_from: | |
- data | |
ports: | |
- "5432:5432" | |
data: | |
restart: no | |
image: postgres:latest | |
volumes: | |
- /var/lib/postgresql | |
command: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
why this message appear?