init docker paheko

This commit is contained in:
HPL 2024-07-04 10:48:19 +02:00
parent 908923f488
commit 742dbd0d02
2 changed files with 0 additions and 42 deletions

View File

@ -1 +0,0 @@
../../config/dockers.env

View File

@ -1,41 +0,0 @@
version: '3.5'
services:
paheko:
image: paheko/paheko
container_name: ${pahekoServName}
volumes:
# - ./config/paheko.conf:/etc/apache2/sites-available/000-default.conf
# - ./config/config.local.php:/usr/share/paheko/config.local.php
# - ./config/factory_cron.sh:/usr/share/paheko/factory_cron.sh
# - assoUsers:/usr/share/paheko/users
# - ./config/paheko.conf:/etc/apache2/sites-available/000-default.conf
- ./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
networks:
- pahekoNet
- postfixNet
external_links:
- ${smtpServName}:${smtpHost}.${domain}
labels:
- "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.${pahekoServName}.rule=HostRegexp(`{host:[a-zA-Z0-9_-]+-${pahekoHost}}.${domain}`)"
- "traefik.docker.network=pahekotNet"
volumes:
assoUsers:
networks:
pahekoNet:
external: true
name: pahekoNet
postfixNet:
external: true
name: postfixNet