mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
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:
parent
a96ad20fde
commit
5e79162ca5
3 changed files with 6 additions and 6 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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/']
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue