pouvoir créer le service webdav (sur un volume wp)

This commit is contained in:
nom
2026-06-16 19:54:34 +02:00
parent d9f642ecf7
commit 366c019c0e
5 changed files with 48 additions and 3 deletions
+22
View File
@@ -229,6 +229,28 @@ services:
volumes:
- spip:/usr/src/spip
#}}
#{{webdav
webdav:
image: httpd:2.4
container_name: ${orga}-${webdavServName}
restart: unless-stopped
networks:
- orgaNet
environment:
#surcharge dans compose.override.yml
- LDAP_USERS=
- DOMAIN=${domain}
- LDAP_ROOT=${ldap_root}
volumes:
- wordpress:/var/www/webdav
- ./webdav-conf/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro
- ./webdav-conf/httpd-webdav.conf:/usr/local/apache2/conf/extra/httpd-webdav.conf:ro
labels:
- "traefik.enable=true"
- "traefik.http.routers.${orga}-${webdavServName}.rule=Host(`${orga}-${webdavHost}.${domain}`)"
volumes:
#}}