From b810ed068b33138f41739124e445dd085ed3994c Mon Sep 17 00:00:00 2001 From: mike Date: Tue, 26 Mar 2024 18:47:23 +0000 Subject: [PATCH] add kestra, still needs work only works using mapped port 4040, not working behind traefik --- services-available/kestra.yml | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 services-available/kestra.yml diff --git a/services-available/kestra.yml b/services-available/kestra.yml new file mode 100644 index 00000000..d779aee0 --- /dev/null +++ b/services-available/kestra.yml @@ -0,0 +1,38 @@ +version: '3' + +networks: + traefik: + external: true + +# description: <= put a brief description of kestra here => +# https://github.com/kestra-io/kestra +# https://github.com/kestra-io/kestra/blob/develop/docker-compose.yml +# https://kestra.io/docs + +services: + kestra: + image: kestra/kestra:${KESTRA_DOCKER_TAG:-latest-full} + container_name: ${KESTRA_CONTAINER_NAME:-kestra} + restart: ${KESTRA_RESTART:-unless-stopped} + user: "${KESTRA_USER:-root}" + command: ${KESTRA_COMMAND:-server local} + networks: + - traefik + volumes: + - ./etc/kestra/storage:/app/storage + - /tmp/kestra-wd:/tmp + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + - /var/run/docker.sock:/var/run/docker.sock + environment: + TZ: ${TZ} + ports: + - 4040:8080 + labels: + - joyride.host.name=${KESTRA_CONTAINER_NAME:-kestra}.${HOST_DOMAIN} + - traefik.enable=true + - traefik.http.routers.kestra.entrypoints=websecure + - traefik.http.routers.kestra.rule=Host(`${KESTRA_CONTAINER_NAME:-kestra}.${HOST_DOMAIN}`)\ + - traefik.http.services.kestra.loadbalancer.server.port=8080 + - com.centurylinklabs.watchtower.enable=true + - autoheal=true