38 lines
1.6 KiB
YAML
38 lines
1.6 KiB
YAML
version: "3.9"
|
|
services:
|
|
cyberchef:
|
|
container_name: cyberchef
|
|
image: ghcr.io/gchq/cyberchef:10.19.0
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=${TZ}
|
|
ports:
|
|
- ${APP_PORT}:80
|
|
networks:
|
|
- tipi_main_network
|
|
labels:
|
|
# Main
|
|
traefik.enable: true
|
|
traefik.http.middlewares.cyberchef-web-redirect.redirectscheme.scheme: https
|
|
traefik.http.services.cyberchef.loadbalancer.server.port: 80
|
|
# Web
|
|
traefik.http.routers.cyberchef-insecure.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.cyberchef-insecure.entrypoints: web
|
|
traefik.http.routers.cyberchef-insecure.service: cyberchef
|
|
traefik.http.routers.cyberchef-insecure.middlewares: cyberchef-web-redirect
|
|
# Websecure
|
|
traefik.http.routers.cyberchef.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.cyberchef.entrypoints: websecure
|
|
traefik.http.routers.cyberchef.service: cyberchef
|
|
traefik.http.routers.cyberchef.tls.certresolver: myresolver
|
|
# Local domain
|
|
traefik.http.routers.cyberchef-local-insecure.rule: Host(`cyberchef.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.cyberchef-local-insecure.entrypoints: web
|
|
traefik.http.routers.cyberchef-local-insecure.service: cyberchef
|
|
traefik.http.routers.cyberchef-local-insecure.middlewares: cyberchef-web-redirect
|
|
# Local domain secure
|
|
traefik.http.routers.cyberchef-local.rule: Host(`cyberchef.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.cyberchef-local.entrypoints: websecure
|
|
traefik.http.routers.cyberchef-local.service: cyberchef
|
|
traefik.http.routers.cyberchef-local.tls: true
|