Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
FROM python:2.7.11-onbuild
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.