fix(ci): fix WebDAV config path for hacdias/webdav v5

The hacdias/webdav:latest image updated to v5 which no longer
auto-discovers config at /config.yml. Mount to /etc/webdav/config.yaml
(an auto-discovered path) and pin image to v5 to prevent future breakage.
This commit is contained in:
Johannes Millan 2026-02-16 10:37:01 +01:00
parent a96ad20fde
commit 5e79162ca5
3 changed files with 6 additions and 6 deletions

View file

@ -23,13 +23,13 @@ services:
# WebDAV sync server (for sync tests) # WebDAV sync server (for sync tests)
webdav: webdav:
image: hacdias/webdav:latest image: hacdias/webdav:v5
ports: ports:
- '${WEBDAV_PORT:-2345}:${WEBDAV_PORT:-2345}' - '${WEBDAV_PORT:-2345}:${WEBDAV_PORT:-2345}'
environment: environment:
- PORT=${WEBDAV_PORT:-2345} - PORT=${WEBDAV_PORT:-2345}
volumes: volumes:
- ./webdav.yaml:/config.yml:ro - ./webdav.yaml:/etc/webdav/config.yaml:ro
- webdav_data:/data - webdav_data:/data
healthcheck: healthcheck:
test: test:

View file

@ -27,13 +27,13 @@ services:
# WebDAV sync server (for sync tests) # WebDAV sync server (for sync tests)
webdav: webdav:
image: hacdias/webdav:latest image: hacdias/webdav:v5
ports: ports:
- '${WEBDAV_PORT:-2345}:${WEBDAV_PORT:-2345}' - '${WEBDAV_PORT:-2345}:${WEBDAV_PORT:-2345}'
environment: environment:
- PORT=${WEBDAV_PORT:-2345} - PORT=${WEBDAV_PORT:-2345}
volumes: volumes:
- ./webdav.yaml:/config.yml:ro - ./webdav.yaml:/etc/webdav/config.yaml:ro
- webdav_data:/data - webdav_data:/data
healthcheck: healthcheck:
test: test:

View file

@ -75,11 +75,11 @@ services:
# WebDAV sync server # WebDAV sync server
webdav: webdav:
image: hacdias/webdav:latest image: hacdias/webdav:v5
ports: ports:
- '2345:2345' - '2345:2345'
volumes: volumes:
- ./webdav.yaml:/config.yml:ro - ./webdav.yaml:/etc/webdav/config.yaml:ro
- webdav_data:/data - webdav_data:/data
healthcheck: healthcheck:
test: ['CMD', 'wget', '--quiet', '--tries=1', '--spider', 'http://localhost:2345/'] test: ['CMD', 'wget', '--quiet', '--tries=1', '--spider', 'http://localhost:2345/']