-
Notifications
You must be signed in to change notification settings - Fork 3
/
exiter.yml
27 lines (26 loc) · 970 Bytes
/
exiter.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
x-logging: &logging
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "100m"
services:
exiter:
image: ghcr.io/cryptomanufaktur-io/eth-jit-exiter:${EXITER_DOCKER_TAG}
restart: unless-stopped
command: ["--config=/config/exiter.yml"]
volumes:
- ./config/exiter.yml:/config/exiter.yml:ro
- ./config/certs:/config/certs:ro
environment:
- EXITER_PORT=${EXITER_PORT}
expose:
- ${EXITER_PORT:-13131}
labels:
- traefik.enable=true
- traefik.http.routers.${EXITER_HOST:-exiter}.service=${EXITER_HOST:-exiter}
- traefik.http.routers.${EXITER_HOST:-exiter}.entrypoints=websecure
- traefik.http.routers.${EXITER_HOST:-exiter}.rule=Host(`${EXITER_HOST:-exiter}.${DOMAIN}`)
- traefik.http.routers.${EXITER_HOST:-exiter}.tls.certresolver=letsencrypt
- traefik.http.services.${EXITER_HOST:-exiter}.loadbalancer.server.port=${EXITER_PORT:-13131}
<<: *logging