25 lines
763 B
YAML
25 lines
763 B
YAML
|
# {{ ansible_managed }}
|
||
|
|
||
|
version: '3.1'
|
||
|
|
||
|
services:
|
||
|
paheko:
|
||
|
image: libretic/paheko:{{ docker_paheko_version }}
|
||
|
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:
|
||
|
- "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"
|
||
|
networks:
|
||
|
- traefik
|
||
|
|
||
|
networks:
|
||
|
traefik:
|
||
|
external: true
|