generated from ztimson/template
More setup script stuff + opentak
This commit is contained in:
+53
-49
@@ -1,54 +1,58 @@
|
||||
services:
|
||||
cartomake:
|
||||
image: git.zakscode.com/ztimson/cartomake:latest
|
||||
container_name: viator-cartomake
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TILESERVER_URL: tiles.${VIATOR_DOMAIN:-viator.internal}
|
||||
GEOCODE_URL: geocode.${VIATOR_DOMAIN:-viator.internal}
|
||||
ports:
|
||||
- "${CARTOMAKE_BIND:-127.0.0.1}:${CARTOMAKE_PORT:-8080}:80"
|
||||
networks:
|
||||
- proxy
|
||||
labels:
|
||||
caddy: maps.${VIATOR_DOMAIN:-viator.internal}
|
||||
caddy.reverse_proxy: "{{upstreams 80}}"
|
||||
caddy.tls: internal
|
||||
cartomake:
|
||||
image: git.zakscode.com/ztimson/cartomake:latest
|
||||
container_name: viator-cartomake
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TILESERVER_URL: ${VIATOR_HOST_TILES:-${VIATOR_SUB_TILES:-tiles}.${VIATOR_DOMAIN:-viator.internal}}
|
||||
GEOCODE_URL: ${VIATOR_HOST_GEOCODE:-${VIATOR_SUB_GEOCODE:-geocode}.${VIATOR_DOMAIN:-viator.internal}}
|
||||
ports:
|
||||
- "${CARTOMAKE_BIND:-127.0.0.1}:${CARTOMAKE_PORT:-8020}:80"
|
||||
networks:
|
||||
- proxy
|
||||
labels:
|
||||
caddy: ${VIATOR_SUB_MAPS:-maps}.${VIATOR_DOMAIN:-viator.internal}
|
||||
caddy.reverse_proxy: "{{upstreams 80}}"
|
||||
caddy.tls: internal
|
||||
|
||||
photon:
|
||||
image: rtuszik/photon-docker:latest
|
||||
container_name: viator-photon
|
||||
restart: unless-stopped
|
||||
profiles: [photon]
|
||||
environment:
|
||||
UPDATE_STRATEGY: PARALLEL
|
||||
UPDATE_INTERVAL: 720h
|
||||
volumes:
|
||||
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/maps/geocoder:/photon/data
|
||||
networks:
|
||||
- proxy
|
||||
labels:
|
||||
caddy: geocode.${VIATOR_DOMAIN:-viator.internal}
|
||||
caddy.reverse_proxy: "{{upstreams 2322}}"
|
||||
caddy.tls: internal
|
||||
photon:
|
||||
image: rtuszik/photon-docker:latest
|
||||
container_name: viator-photon
|
||||
restart: unless-stopped
|
||||
profiles: [photon]
|
||||
environment:
|
||||
UPDATE_STRATEGY: PARALLEL
|
||||
UPDATE_INTERVAL: 720h
|
||||
volumes:
|
||||
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/maps/geocoder:/photon/data
|
||||
ports:
|
||||
- "${PHOTON_BIND:-127.0.0.1}:${PHOTON_PORT:-8022}:2322"
|
||||
networks:
|
||||
- proxy
|
||||
labels:
|
||||
caddy: ${VIATOR_SUB_GEOCODE:-geocode}.${VIATOR_DOMAIN:-viator.internal}
|
||||
caddy.reverse_proxy: "{{upstreams 2322}}"
|
||||
caddy.tls: internal
|
||||
|
||||
tileserver:
|
||||
image: maptiler/tileserver-gl:v4.11.0
|
||||
container_name: viator-tileserver
|
||||
restart: unless-stopped
|
||||
profiles: [tiles]
|
||||
command: ["--config", "/config/config.json"]
|
||||
volumes:
|
||||
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/maps/tiles:/data
|
||||
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/maps/tileserver:/config:ro
|
||||
networks:
|
||||
- proxy
|
||||
labels:
|
||||
caddy: tiles.${VIATOR_DOMAIN:-viator.internal}
|
||||
caddy.reverse_proxy: "{{upstreams 8080}}"
|
||||
caddy.tls: internal
|
||||
tileserver:
|
||||
image: maptiler/tileserver-gl:v4.11.0
|
||||
container_name: viator-tileserver
|
||||
restart: unless-stopped
|
||||
profiles: [tiles]
|
||||
command: ["--config", "/config/config.json"]
|
||||
volumes:
|
||||
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/maps/tiles:/data
|
||||
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/maps/tileserver:/config:ro
|
||||
ports:
|
||||
- "${TILESERVER_BIND:-127.0.0.1}:${TILESERVER_PORT:-8021}:8080"
|
||||
networks:
|
||||
- proxy
|
||||
labels:
|
||||
caddy: ${VIATOR_SUB_TILES:-tiles}.${VIATOR_DOMAIN:-viator.internal}
|
||||
caddy.reverse_proxy: "{{upstreams 8080}}"
|
||||
caddy.tls: internal
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
name: viator_proxy
|
||||
proxy:
|
||||
external: true
|
||||
name: viator_proxy
|
||||
|
||||
Reference in New Issue
Block a user