2023-07-23 21:21:35 +02:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
|
|
|
services:
|
|
|
|
paheko:
|
2024-05-20 16:11:07 +02:00
|
|
|
image: paheko/paheko:{{ docker_paheko_version }}
|
2023-07-23 21:21:35 +02:00
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ./config.local.php:/var/www/paheko/config.local.php
|
|
|
|
- {{ docker_paheko_data_dir }}/{{ docker_paheko_service_id }}/data:/var/www/paheko/data
|
|
|
|
- /var/www/paheko/data/plugins
|
|
|
|
labels:
|
2023-12-10 18:35:40 +01:00
|
|
|
traefik.enable: "true"
|
|
|
|
traefik.docker.network: "traefik"
|
|
|
|
traefik.http.routers.{{ docker_paheko_service_id }}.entrypoints: "web"
|
|
|
|
traefik.http.routers.{{ docker_paheko_service_id }}.rule: "Host(`{{ docker_paheko_fqdn }}`)"
|
|
|
|
traefik.http.services.{{ docker_paheko_service_id }}.loadbalancer.server.port: "80"
|
2023-07-23 21:21:35 +02:00
|
|
|
networks:
|
|
|
|
- traefik
|
2023-12-10 18:35:40 +01:00
|
|
|
|
|
|
|
ofelia:
|
|
|
|
image: mcuadros/ofelia:latest
|
2024-07-02 10:30:40 +02:00
|
|
|
restart: always
|
2023-12-10 18:35:40 +01:00
|
|
|
command: daemon --config /etc/ofelia/config.ini
|
|
|
|
volumes:
|
|
|
|
- ./ofelia.ini:/etc/ofelia/config.ini
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
userns_mode: host
|
|
|
|
depends_on:
|
|
|
|
- paheko
|
2023-07-23 21:21:35 +02:00
|
|
|
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|