Created
April 12, 2018 13:00
-
-
Save kerin/26c54990d577dad2a0cd65b915a734cb to your computer and use it in GitHub Desktop.
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
| # local dev env | |
| version: '3' | |
| services: | |
| django: | |
| build: . | |
| ports: | |
| - "8011:8000" | |
| depends_on: | |
| - postgres | |
| links: | |
| - postgres | |
| # local dev env variables which are kept out of version control | |
| environment: | |
| - POSTGRES_HOST=postgres | |
| - POSTGRES_USER=postgres | |
| - POSTGRES_PASSWORD=password | |
| - POSTGRES_PORT=5432 | |
| - POSTGRES_DB=vis | |
| - DOCKER_STATE=create | |
| - DJANGO_SETTINGS_MODULE=vis.settings.base | |
| - DJANGO_DEBUG=False | |
| postgres: | |
| image: postgres:9.4 | |
| environment: | |
| - POSTGRES_USER=postgres | |
| - POSTGRES_PASSWORD=password | |
| - POSTGRES_DB=vis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment