Created
November 28, 2016 13:25
-
-
Save stepankuzmin/a0044d342ab9a4a0cb95d5248bc4101a to your computer and use it in GitHub Desktop.
Galton Docker Compose example
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
| version: '2' | |
| services: | |
| galton_dnsmasq: | |
| image: andyshinn/dnsmasq:2.76 | |
| restart: always | |
| container_name: galton_dnsmasq | |
| cap_add: | |
| - NET_ADMIN | |
| galton_nginx: | |
| image: nginx | |
| restart: always | |
| container_name: galton_nginx | |
| ports: | |
| - "4000:80" | |
| volumes: | |
| - ./default.conf:/etc/nginx/conf.d/default.conf | |
| - ./static:/usr/share/nginx/html:ro | |
| # Amsterdam | |
| amsterdam_netherlands_car: | |
| image: urbica/galton | |
| restart: always | |
| hostname: amsterdam_netherlands_car | |
| container_name: amsterdam_netherlands_car | |
| volumes: | |
| - ./extracts:/extracts | |
| - ./data/amsterdam_netherlands_car:/data | |
| command: ["https://s3.amazonaws.com/metro-extracts.mapzen.com/amsterdam_netherlands.osm.pbf", "car"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment