hop
This commit is contained in:
@@ -21,21 +21,22 @@ services:
|
|||||||
gitlab_rails['smtp_domain'] = 'mg.devops-lyon.eu'
|
gitlab_rails['smtp_domain'] = 'mg.devops-lyon.eu'
|
||||||
gitlab_rails['smtp_enable_starttls_auto'] = true
|
gitlab_rails['smtp_enable_starttls_auto'] = true
|
||||||
gitlab_rails['initial_root_password'] = 'M0ukreneIsGood!'
|
gitlab_rails['initial_root_password'] = 'M0ukreneIsGood!'
|
||||||
# gitlab_rails['ldap_enabled'] = true
|
gitlab_rails['ldap_enabled'] = true
|
||||||
# gitlab_rails['ldap_servers'] = {
|
gitlab_rails['ldap_servers'] = {
|
||||||
# 'main' => {
|
'main' => {
|
||||||
# 'label' => 'Pidom AD',
|
'label' => 'Pidom AD',
|
||||||
# 'host' => '192.168.111.252',
|
'host' => '192.168.111.252',
|
||||||
# 'port' => 389,
|
'port' => 389,
|
||||||
# 'uid' => 'sAMAccountName',
|
'uid' => 'sAMAccountName',
|
||||||
# 'verify_certificates' => false,
|
'verify_certificates' => false,
|
||||||
# 'bind_dn' => 'CN=ldapuser,OU=Users,OU=Dardilly,DC=pidom,DC=chezclement,DC=maison',
|
'bind_dn' => 'CN=ldapuser,OU=Users,OU=Dardilly,DC=pidom,DC=chezclement,DC=maison',
|
||||||
# 'encryption' => 'plain'
|
'encryption' => 'plain',
|
||||||
# 'password' => 'E2ggSY3v33y5B6uwyjNXYGT2y_',
|
'password' => 'E2ggSY3v33y5B6uwyjNXYGT2y_',
|
||||||
# 'active_directory' => true,
|
'active_directory' => true,
|
||||||
# 'base' => 'OU=Users,OU=Dardilly,DC=pidom,DC=chezclement,DC=maison'
|
'base' => 'OU=Users,OU=Dardilly,DC=pidom,DC=chezclement,DC=maison',
|
||||||
# }
|
'user_filter' => '(memberof=CN=gitusers,OU=Groups,OU=Dardilly,DC=pidom,DC=chezclement,DC=maison)'
|
||||||
# }
|
}
|
||||||
|
}
|
||||||
nginx['enable'] = true
|
nginx['enable'] = true
|
||||||
nginx['redirect_http_to_https'] = false
|
nginx['redirect_http_to_https'] = false
|
||||||
nginx['proxy_set_headers'] = {"X-Forwarded-Proto" => "http", "CUSTOM_HEADER" => "VALUE"}
|
nginx['proxy_set_headers'] = {"X-Forwarded-Proto" => "http", "CUSTOM_HEADER" => "VALUE"}
|
||||||
|
|||||||
@@ -1,7 +1,27 @@
|
|||||||
version: 2
|
version: 2
|
||||||
services:
|
services:
|
||||||
|
piwismtp:
|
||||||
|
image: namshi/smtp
|
||||||
|
container_name: piwismtp
|
||||||
|
hostname: piwismtp
|
||||||
|
environment:
|
||||||
|
- RELAY_NETWORKS=:192.168.0.0/16
|
||||||
|
# - SMARTHOST_ADDRESS=smtp.mailgun.org
|
||||||
|
# - SMARTHOST_PORT=587
|
||||||
|
# - SMARTHOST_USER=mailrelay@mg.familleclement.space
|
||||||
|
# - SMARTHOST_PASSWORD=ZvR8aWGibF6HuJmSkCqdL9AXrTCb
|
||||||
|
- SMARTHOST_ADDRESS=smtp.free.fr
|
||||||
|
- SMARTHOST_PORT=587
|
||||||
|
- SMARTHOST_USER=ivan.clement@free.fr
|
||||||
|
- SMARTHOST_PASSWORD=3RokCHDHgLisX3bG
|
||||||
|
- DISABLE_IPV6=True
|
||||||
|
- KEY_PATH=/certificates/smtptlskey.key
|
||||||
|
- CERTIFICATE_PATH=/certificates/smtptlscert.crt
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- 'piwismtpcert:/certificates'
|
||||||
piwidb:
|
piwidb:
|
||||||
image: mariadb:10
|
image: mariadb:10.5.2
|
||||||
container_name: piwigo_mariadb
|
container_name: piwigo_mariadb
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
@@ -12,7 +32,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- piwigo_db:/var/lib/mysql
|
- piwigo_db:/var/lib/mysql
|
||||||
piwigo:
|
piwigo:
|
||||||
image: linuxserver/piwigo
|
image: linuxserver/piwigo:2.10.2-ls61
|
||||||
container_name: piwigo
|
container_name: piwigo
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
@@ -23,6 +43,6 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 8087:80
|
- 8087:80
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
links:
|
links:
|
||||||
- piwidb
|
- piwidb
|
||||||
|
- piwismtp
|
||||||
Reference in New Issue
Block a user