KazV2/dockers/proxy/docker-compose.tmpl.yml.dist
2024-06-03 18:43:35 +02:00

243 lines
3.9 KiB
Plaintext

# if faut définir les variables d'environnement avant
# ln -s ../dockers.env .env
version: '3.3'
services:
reverse-proxy:
image: proxykaz
container_name: ${proxyServName}
restart: ${restartPolicy}
ports:
- ${MAIN_IP}:80:80
- ${MAIN_IP}:443:443
# - 80:80
# - 443:443
external_links:
- ${proxyServName}:proxy.${domain}
{{web
- ${webServName}:${domain}
}}
{{jirafeau
- ${jirafeauServName}:${fileHost}.${domain}
}}
{{ethercalc
- ${ethercalcServName}:${calcHost}.${domain}
}}
{{etherpad
- ${etherpadServName}:${padHost}.${domain}
}}
{{framadate
- ${framadateServName}:${dateHost}.${domain}
}}
{{ldap
- ${ldapUIName}:${ldapUIHost}.${domain}
}}
{{mobilizon
- ${mobilizonServName}:${mobilizonHost}.${domain}
}}
{{cloud
- ${nextcloudServName}:${cloudHost}.${domain}
}}
{{collabora
- ${officeServName}:${site}-${officeHost}.${domain}
}}
{{paheko
- ${pahekoServName}:${pahekoHost}.${domain}
}}
{{mattermost
- ${mattermostServName}:${matterHost}.${domain}
}}
{{roundcube
- ${roundcubeServName}:${webmailHost}.${domain}
}}
{{gitea
- ${gitServName}:${gitHost}.${domain}
}}
{{dokuwiki
- ${dokuwikiServName}:${dokuwikiHost}.${domain}
}}
{{vigilo
- ${vigiloServName}:${vigiloHost}.${domain}
}}
{{postfix
- ${smtpServName}:${smtpHost}.${domain}
}}
{{vaultwarden
- ${vaultwardenServName}:${vaultwardenHost}.${domain}
}}
{{imapsync
- ${imapsyncServName}:${imapsyncHost}.${domain}
}}
{{castopod
- ${castopodServName}:${castopodHost}.${domain}
}}
#### BEGIN ORGA HOST
#### END ORGA HOST
networks:
- proxyNet
{{web
- webNet
}}
{{jirafeau
- jirafeauNet
}}
{{ethercalc
- ethercalcNet
}}
{{etherpad
- etherpadNet
}}
{{framadate
- framadateNet
}}
{{ldap
- ldapNet
}}
{{mobilizon
- mobilizonNet
}}
{{cloud
- cloudNet
}}
{{collabora
- collaboraNet
}}
{{paheko
- pahekoNet
}}
{{mattermost
- mattermostNet
}}
{{roundcube
- roundcubeNet
}}
{{gitea
- giteaNet
}}
{{dokuwiki
- dokuwikiNet
}}
{{postfix
- postfixNet
}}
{{vaultwarden
- vaultwardenNet
}}
{{imapsync
- imapsyncNet
}}
{{castopod
- castopodNet
}}
#### BEGIN ORGA USE_NET
#### END ORGA USE_NET
volumes:
- ../../config/proxy/:/etc/nginx/includes/:rw
- ../../secret/allow_admin_ip:/etc/nginx/allow_admin_ip:ro
- ./config/nginx.conf:/etc/nginx/nginx.conf:rw
- /etc/ssl:/etc/ssl:ro
- /etc/letsencrypt:/etc/letsencrypt:rw
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- /root/mkcert:/root/mkcert:ro
networks:
proxyNet:
external: true
name: proxyNet
{{web
webNet:
external: true
name: webNet
}}
{{jirafeau
jirafeauNet:
external: true
name: jirafeauNet
}}
{{ethercalc
ethercalcNet:
external: true
name: ethercalcNet
}}
{{etherpad
etherpadNet:
external: true
name: etherpadNet
}}
{{framadate
framadateNet:
external: true
name: framadateNet
}}
{{ldap
ldapNet:
external: true
name: ldapNet
}}
{{mobilizon
mobilizonNet:
external: true
name: mobilizonNet
}}
{{cloud
cloudNet:
external: true
name: cloudNet
}}
{{collabora
collaboraNet:
external: true
name: collaboraNet
}}
{{paheko
pahekoNet:
external: true
name: pahekoNet
}}
{{mattermost
mattermostNet:
external: true
name: mattermostNet
}}
{{roundcube
roundcubeNet:
external: true
name: roundcubeNet
}}
{{gitea
giteaNet:
external: true
name: giteaNet
}}
{{dokuwiki
dokuwikiNet:
external: true
name: dokuwikiNet
}}
{{postfix
postfixNet:
external: true
name: postfixNet
}}
{{vaultwarden
vaultwardenNet:
external: true
name: vaultwardenNet
}}
{{imapsync
imapsyncNet:
external: true
name: imapsyncNet
}}
{{castopod
castopodNet:
external: true
name: castopodNet
}}
#### BEGIN ORGA DEF_NET
#### END ORGA DEF_NET