Paste P6968

plantdata.io wdqs docker-compose.yml config - working!
ActivePublic

Authored by K4-713 on Apr 7 2018, 9:39 PM.
# Use with https://github.com/wmde/wikibase-docker
# Wikibase instance is outside the wdqs docker setup
#
# Wikibase with Query Service
#
# Access Wikibase via "http://localhost:8181"
# (or "http://$(docker-machine ip):8181" if using docker-machine)
#
# Access Query Service via "http://localhost:8282"
# (or "http://$(docker-machine ip):8282" if using docker-machine)
version: '3'
services:
wdqs-frontend:
image: wikibase/wdqs-frontend:latest
restart: always
build:
context: ./wdqs-frontend/latest
dockerfile: Dockerfile
environment:
- BRAND_TITLE="Plantdata.io Query Service"
- WIKIBASE_HOST=wikibase.plantdata.io
ports:
- "8282:80"
depends_on:
- wdqs-proxy
networks:
default:
aliases:
- wdqs-frontend.svc
wdqs:
image: wikibase/wdqs:0.3.0
restart: always
build:
context: ./wdqs/0.3.0
dockerfile: Dockerfile
environment:
- WIKIBASE_HOST=wikibase.plantdata.io
- WIKIBASE_SCHEME=http
- WDQS_ENTITY_NAMESPACE="120,122"
volumes:
- query-service-data:/wdqs/data
command: /runBlazegraph.sh
networks:
default:
aliases:
- wdqs.svc
wdqs-proxy:
image: wikibase/wdqs-proxy
restart: always
build:
context: ./wdqs-proxy/latest
dockerfile: Dockerfile
environment:
- PROXY_PASS_HOST=wdqs.svc:9999
- WIKIBASE_HOST=wikibase.plantdata.io
- WIKIBASE_SCHEME=http
- WDQS_ENTITY_NAMESPACE="120,122"
command: /runUpdate.sh
depends_on:
- wdqs
networks:
default:
aliases:
- wdqs-updater.svc
volumes:
query-service-data:
K4-713 created this paste.Apr 7 2018, 9:39 PM