-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
40 lines (39 loc) · 1016 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
33
34
35
36
37
38
39
version: '3.3'
services:
opentripplanner:
image: ghcr.io/bbnavi/opentripplaner-berlin-brandenburg:nightly
healthcheck:
test:
- CMD
- curl
- -f
- http://localhost:8080/
interval: 15s
timeout: 10s
retries: 30
environment:
API_URL: https://api.bbnavi.de/otp/
OTP_PORT: '8090'
networks:
- public
logging:
driver: awslogs
deploy:
replicas: 2
labels:
traefik.http.routers.bbnavi-api.rule: Host(`api.bbnavi.de`)
traefik.http.routers.bbnavi-api.tls.certresolver: acme
traefik.http.services.bbnavi-api.loadbalancer.server.port: '8080'
traefik.http.routers.bbnavi-api.entrypoints: https
traefik.http.routers.bbnavi-api.tls: 'true'
traefik.docker.network: public
traefik.enable: 'true'
placement:
constraints:
- node.role == worker
resources:
reservations:
memory: 4096M
networks:
public:
external: true