Skip to content

Commit

Permalink
Added itflow
Browse files Browse the repository at this point in the history
  • Loading branch information
salverius-tech committed Aug 26, 2023
1 parent dd342c0 commit 7ce875d
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions services-available/itflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
version: '3'

networks:
default:
name: traefik

# https://itflow.org/

services:
itflow-db:
hostname: itflow-db
container_name: itflow-db
image: mariadb:10.6.11
restart: always
networks:
- itflow-db
environment:
- MARIADB_RANDOM_ROOT_PASSWORD=true
- MARIADB_DATABASE=${ITFLOW_DB_NAME:-itflow}
- MARIADB_USER=${ITFLOW_DB_USER:-itflow}
- MARIADB_PASSWORD=${ITFLOW_DB_PASS:-itflowpass}
volumes:
- itflow-db:/var/lib/mysql/

itflow:
image: lued/itflow:${ITFLOW_DOCKER_TAG:-latest}
container_name: ${ITFLOW_CONTAINER_NAME:-itflow}
hostname: ${ITFLOW_HOSTNAME:-itflow}
restart: ${ITFLOW_RESTART:-unless-stopped}
depends_on:
- itflow-db
volumes:
- ./etc/itflow:/var/www/html
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
- TZ=${TZ}
- ITFLOW_NAME=ITFlow
- ITFLOW_URL=${ITFLOW_CONTAINER_NAME:-itflow}.${HOST_DOMAIN}
- ITFLOW_PORT=8080
- ITFLOW_REPO=github.com/itflow-org/itflow
- ITFLOW_REPO_BRANCH=master
- ITFLOW_LOG_LEVEL=info
- ITFLOW_DB_HOST=itflow-db
- ITFLOW_DB_PASS=${ITFLOW_DB_PASS:-itflow}
labels:
- joyride.host.name=${ITFLOW_CONTAINER_NAME:-itflow}.${HOST_DOMAIN}
- traefik.enable=true
- traefik.http.routers.itflow.entrypoints=websecure
- traefik.http.routers.itflow.rule=Host(`${ITFLOW_CONTAINER_NAME:-itflow}.${HOST_DOMAIN}`)
#- traefik.http.services.itflow.loadbalancer.server.scheme=https # enable if the service wants to connect over https
- traefik.http.services.itflow.loadbalancer.server.port=8080
- com.centurylinklabs.watchtower.enable=true
- autoheal=true

# Flame dashboard labels

- flame.type=application # "app" works too
- flame.name=${ITFLOW_FLAME_NAME:-itflow}
- flame.url=https://${ITFLOW_CONTAINER_NAME:-itflow}.${HOST_DOMAIN}
- flame.icon=${ITFLOW_FLAME_ICON:-docker} # optional, default is "docker"

0 comments on commit 7ce875d

Please sign in to comment.