38 lines
937 B
YAML
38 lines
937 B
YAML
services:
|
|
drawio:
|
|
image: jgraph/drawio:latest
|
|
container_name: drawio
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
TZ: Europe/Berlin
|
|
DRAWIO_SERVER_URL: "https://drawio.focus-on-it.net/"
|
|
DRAWIO_BASE_URL: "https://drawio.focus-on-it.net"
|
|
DRAWIO_DISABLE_XFRAME: "1"
|
|
|
|
expose:
|
|
- "8080"
|
|
|
|
networks:
|
|
- webproxy-net
|
|
|
|
volumes:
|
|
- drawio-logs:/usr/local/tomcat/logs
|
|
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.docker.network=webproxy-net
|
|
- traefik.http.routers.drawio.rule=Host(`drawio.focus-on-it.net`)
|
|
- traefik.http.routers.drawio.entrypoints=websecure
|
|
- traefik.http.routers.drawio.tls=true
|
|
- traefik.http.routers.drawio.tls.certresolver=le
|
|
- traefik.http.routers.drawio.middlewares=drawio-auth@file
|
|
- traefik.http.services.drawio.loadbalancer.server.port=8080
|
|
|
|
networks:
|
|
webproxy-net:
|
|
external: true
|
|
|
|
volumes:
|
|
drawio-logs:
|