Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit f7dcd52

Browse files
committed
Add proxy labels
1 parent 6b1257e commit f7dcd52

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.ansible/templates/docker-compose.yaml.j2

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ services:
1515
PHPLDAPADMIN_LDAP_CLIENT_TLS: 'true'
1616
PHPLDAPADMIN_LDAP_CLIENT_TLS_REQCERT: 'try'
1717
PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH:[{'{{ domain }}': [{'server': [{'tls': True}, {'port': 636}]},{'login': [{'bind_id': 'cn=admin,dc=diesel,dc=net'},{'bind_pass': '{{ admin_password }}'}]}]}]"
18-
1918
command: >
2019
--loglevel debug
20+
deploy:
21+
labels:
22+
- traefik.enable=true
23+
- traefik.http.services.{{ git_repository }}.loadbalancer.server.port=80
24+
- traefik.http.routers.{{ git_repository }}.rule=Host(`{{ domain }}`)
25+
- traefik.http.routers.{{ git_repository }}.tls.certresolver=step-ca
2126
networks:
2227
- {{ docker_network }}
2328

0 commit comments

Comments
 (0)