Created
June 6, 2016 15:13
-
-
Save jasonmccallister/dac7e01f7d8468cff57ec5f0246b6087 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: | |
image: php:7.0.7-apache | |
links: | |
- db:postgres | |
ports: | |
- 80:80 | |
volumes: | |
- .:/var/www/html | |
db: | |
image: postgres:9.5.3 | |
ports: | |
- 5432:5432 | |
environment: | |
POSTGRES_PASSWORD: docker-postgres | |
POSTGRES_USER: db_user | |
POSTGRES_DB: db_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment