Created
December 28, 2016 03:01
-
-
Save dooman87/b701f6f74898c3b74691b9639e256a49 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
version: '2' | |
services: | |
postgis: | |
build: ./postgis | |
volumes: | |
- ./data:/var/lib/postgresql/data | |
environment: | |
- POSTGRES_DB=gis | |
renderer: | |
build: ./renderer | |
volumes: | |
- ./renderer/map_data:/map_data | |
- ./renderer/scripts:/scripts | |
volumes_from: | |
- postgis:ro | |
ports: | |
- "8080:8080" | |
- "9090:9090" | |
depends_on: | |
- postgis | |
web: | |
image: nginx:1.11-alpine | |
volumes: | |
- ./web:/usr/share/nginx/html | |
ports: | |
- "8888:80" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment