Created
March 16, 2016 23:38
-
-
Save kgadek/6cff023d2e7a6b1d3988 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
pyserver: | |
restart: "always" | |
build: ./src | |
ports: | |
- 8042:8042 | |
links: | |
- dbserver:dbserver | |
env_file: .env | |
command: python /usr/src/app/server.py | |
dbserver: | |
restart: "always" | |
image: postgres:9.5.0 | |
volumes: | |
- ./pgdata:/pgdata | |
env_file: .env | |
expose: | |
- 5432 |
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
FROM python:2.7.11-onbuild |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment