-
Notifications
You must be signed in to change notification settings - Fork 46
/
docker-compose.yml
32 lines (30 loc) · 1013 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: '3.3'
services:
wiki:
networks:
- proxy
image: sc-registry.fredhutch.org/wiki:latest
stdin_open: true
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.routers.sciwiki.rule=Host(`sciwiki.fredhutch.org`)"
- "traefik.http.routers.sciwiki-secured.rule=Host(`sciwiki.fredhutch.org`)"
- "traefik.http.routers.sciwiki.entrypoints=web,web-secured"
- "traefik.http.services.sciwiki.loadbalancer.server.port=80" # it seems you always need to give traefik a port so it 'notices' the service
- "traefik.http.routers.sciwiki.tls=true"
elasticsearch:
networks:
- proxy
image: sc-registry.fredhutch.org/wiki_elasticsearch:latest
stdin_open: true
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- ingest.geoip.downloader.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
networks:
proxy:
external: true