-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.override.yml.davrods
40 lines (39 loc) · 1.56 KB
/
docker-compose.override.yml.davrods
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
40
# docker-compose.override.yaml fragment for running davrods from docker-compose
version: "3.8"
services:
davrods:
image: ghcr.io/bihealth/davrods-docker:${DAVRODS_VERSION}
hostname: davrods
environment:
IRODS_HOST_NAME: irods
IRODS_ZONE_PORT: 1247
IRODS_ZONE_NAME: sodarZone
IRODS_SSL_VERIFY_SERVER: ${IRODS_SSL_VERIFY_SERVER}
IRODS_AUTHENTICATION_SCHEME: ${IRODS_AUTHENTICATION_SCHEME}
IRODS_CLIENT_SERVER_NEGOTIATION: ${IRODS_CLIENT_SERVER_NEGOTIATION}
IRODS_CLIENT_SERVER_POLICY: ${IRODS_CLIENT_SERVER_POLICY}
IRODS_SSL_CA_CERT_PATH: ${IRODS_CERT_PATH}
DAVRODS_ENABLE_TICKETS: ${DAVRODS_ENABLE_TICKETS}
DAVRODS_AUTH_NAME: ${DAVRODS_AUTH_NAME}
depends_on:
- irods
networks:
- sodar
restart: unless-stopped
shm_size: '2gb'
volumes:
- type: bind
source: ./config/davrods/theme
target: /etc/httpd/irods/theme
- type: bind # Traefik configuration for shared certs
source: ./config/traefik/tls
target: /etc/traefik/tls
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.xforward.headers.customrequestheaders.X-Forwarded-Proto=https"
- "traefik.http.routers.davrods.entrypoints=websecure"
- "traefik.http.routers.davrods.middlewares=xforward"
- "traefik.http.routers.davrods.rule=(HostRegexp(`{catchall:.+}`) && PathPrefix(`/sodarZone`))"
- "traefik.http.services.davrods.loadbalancer.server.port=80"
- "traefik.http.routers.davrods.tls=true"
- "traefik.http.routers.davrods.priority=100"