Skip to content

Commit

Permalink
add kestra, still needs work only works using mapped port 4040, not w…
Browse files Browse the repository at this point in the history
…orking behind traefik
  • Loading branch information
ilude committed Mar 26, 2024
1 parent 1c51a74 commit b810ed0
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions services-available/kestra.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b810ed0

Please sign in to comment.