app-store/apps/cyberchef/docker-compose.yml
cori schlegel a433715c5a
[App] CyberChef (#3717)
* Add CyberChef app to the Runtipi App Store

* pick a unique port

( thought i had one :-/ )

* docker image tag update

* update docker tag

(pretty sure this should remain as tipi version 1 until merged)

---------

Co-authored-by: cori <cori@gallimaufri.es>
2024-06-23 01:28:05 +02:00

38 lines
1.6 KiB
YAML

version: "3.9"
services:
cyberchef:
container_name: cyberchef
image: ghcr.io/gchq/cyberchef:10.18.9
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