Files
KazV2/dockers/paheko/docker-compose.yml.dist
2026-11-27 10:58:41 +01:00

35 lines
991 B
Plaintext

services:
paheko:
image: pahekokaz
build: .
container_name: ${pahekoServName}
restart: ${restartPolicy}
volumes:
- ./config/config.local.php:/var/www/paheko/config.local.php
- ./config/factory_cron.sh:/var/www/paheko/factory_cron.sh
- assoUsers:/var/www/paheko/users
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- /kaz/jobs:/var/www/paheko/jobs
# ports:
# - 8086:80
networks:
- pahekoNet
external_links:
- ${smtpServName}:${smtpHost}.${domain}
labels:
- "traefik.docker.network=pahekoNet"
- "traefik.enable=true"
- "traefik.frontend.rule=HostRegexp:{host:[a-zA-Z0-9_-]+-${pahekoHost}}.${domain}"
- "traefik.http.routers.${pahekoServName}.rule=HostRegexp(`{host:[a-zA-Z0-9_-]+-${pahekoHost}}.${domain}`)"
- "traefik.http.routers.kaz.middlewares=anubis@docker"
volumes:
assoUsers:
networks:
pahekoNet:
external: true
name: pahekoNet