cyberchef stack

This commit is contained in:
Pim Kunis 2023-05-03 11:59:16 +02:00
parent dd0a6dcd22
commit 29f29e2df1
3 changed files with 36 additions and 0 deletions

View file

@ -11,3 +11,4 @@
- {role: freshrss, tags: freshrss} - {role: freshrss, tags: freshrss}
- {role: hedgedoc, tags: hedgedoc} - {role: hedgedoc, tags: hedgedoc}
- {role: overleaf, tags: overleaf} - {role: overleaf, tags: overleaf}
- {role: cyberchef, tags: cyberchef}

View file

@ -0,0 +1,20 @@
# vi: ft=yaml
version: "3.7"
networks:
traefik:
external: true
services:
cyberchef:
image: mpepping/cyberchef
networks:
- traefik
deploy:
labels:
- traefik.enable=true
- traefik.http.routers.cyberchef.entrypoints=websecure
- traefik.http.services.cyberchef.loadbalancer.server.port=8000
- traefik.http.routers.cyberchef.rule=Host(`cyberchef.geokunis2.nl`)
- traefik.http.routers.cyberchef.tls=true
- traefik.http.routers.cyberchef.tls.certresolver=letsencrypt

View file

@ -0,0 +1,15 @@
- name: Create working directory
file:
path: /srv/cyberchef
state: directory
- name: Copy Docker stack file
template:
src: "{{ role_path }}/docker-stack.yml.j2"
dest: /srv/cyberchef/docker-stack.yml
- name: Deploy Docker stack
docker_stack:
name: cyberchef
compose:
- /srv/cyberchef/docker-stack.yml