Docker-Compose
These settings are best-effort and will likely require additional work to implement
Every docker-container we build, can be easily loaded using a docker-compose file.
Please note that any dependencies need to be manually connected (primarily their database names, usernames and passwords. Any optional dependancies or env-vars are commented out.
Please do check the application source for installation instructions and any env-vars and ports that are not managed/created by us.
Source: [{{ SOURCE }}]({{ SOURCE }})
docker-compose.yaml
Section titled “docker-compose.yaml”name: kimaiservices: kimai: cap_drop: - ALL container_name: kimai privileged: false deploy: resources: limits: cpus: 4 memory: 4G environment: DATABASE_URL: mysql://kimai:e582cb377156dfb897a89d122fae0b18WORD@mariadb:3306/kimai TZ: Etc/UTC group_add: - "568" image: ghcr.io/trueforge-org/kimai:2.56.0 ports: - mode: ingress # host_ip: 127.0.0.1 target: 80 published: "80" protocol: tcp - mode: ingress # host_ip: 127.0.0.1 target: 443 published: "443" protocol: tcp restart: unless-stopped shm_size: 256M volumes: - type: bind source: /mnt/tank/apps/kimai/config target: /config read_only: false mariadb: cap_drop: - ALL container_name: mariadb privileged: false deploy: resources: limits: cpus: 4 memory: 4G environment: MARIADB_DATABASE: kimai MARIADB_PASSWORD: e582cb377156dfb897a89d122fae0b18WORD MARIADB_ROOT_PASSWORD: 1f95f984cc9b5cf6705cc452d63c826eWORD MARIADB_USER: kimai TZ: Etc/UTC group_add: - "568" image: ghcr.io/trueforge-org/mariadb:11.4.8-r0 ports: - mode: ingress # host_ip: 127.0.0.1 target: 3306 published: "3306" protocol: tcp restart: unless-stopped shm_size: 256M volumes: - type: bind source: /mnt/tank/apps/mariadb/config target: /config read_only: false