renommage docker-compose paheko
This commit is contained in:
36
dockers/paheko/docker-compose.yml.dist
Normal file
36
dockers/paheko/docker-compose.yml.dist
Normal file
@ -0,0 +1,36 @@
|
||||
version: '3.5'
|
||||
|
||||
services:
|
||||
|
||||
paheko:
|
||||
image: pahekokaz
|
||||
build: .
|
||||
container_name: ${pahekoServName}
|
||||
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
|
||||
# ports:
|
||||
# - 8086:80
|
||||
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}`)"
|
||||
|
||||
volumes:
|
||||
assoUsers:
|
||||
|
||||
networks:
|
||||
pahekoNet:
|
||||
external: true
|
||||
name: pahekoNet
|
||||
postfixNet:
|
||||
external: true
|
||||
name: postfixNet
|
Reference in New Issue
Block a user