2024-06-03 18:43:35 +02:00
|
|
|
services:
|
|
|
|
|
|
|
|
paheko:
|
|
|
|
image: pahekokaz
|
|
|
|
build: .
|
|
|
|
container_name: ${pahekoServName}
|
|
|
|
volumes:
|
2024-07-11 20:34:21 +02:00
|
|
|
- ./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
|
2024-06-03 18:43:35 +02:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
# ports:
|
|
|
|
# - 8086:80
|
|
|
|
networks:
|
|
|
|
- pahekoNet
|
|
|
|
- postfixNet
|
|
|
|
external_links:
|
|
|
|
- ${smtpServName}:${smtpHost}.${domain}
|
|
|
|
labels:
|
2024-08-08 15:55:19 +02:00
|
|
|
- "traefik.docker.network=pahekoNet"
|
2024-06-03 18:43:35 +02:00
|
|
|
- "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}`)"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
assoUsers:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
pahekoNet:
|
|
|
|
external: true
|
|
|
|
name: pahekoNet
|
|
|
|
postfixNet:
|
|
|
|
external: true
|
|
|
|
name: postfixNet
|