webdav in docker-compose
@@ -36,7 +36,7 @@ services:
depends_on:
- vault
image: 'shield:dev'
- ports: [80]
+ ports: ['9009:80']
networks: [internal]
command: ['/shield/init/core', '--log-level', 'debug']
environment:
@@ -45,12 +45,11 @@ services:
volumes:
- 'shield-data:/var/shield'
- 'shield-etc:/etc/shield'
- ports:
- - '9009:80'
agent:
depends_on:
- core
+ - webdav
image: 'shield:dev'
ports: [5444]
networks: [internal]
@@ -62,6 +61,16 @@ services:
- 'shield-data:/var/shield'
- 'shield-etc:/etc/shield'
+ webdav:
+ image: 'morrisjobke/webdav:latest'
+ ports: [80]
+ networks: [internal]
+ environment:
+ USERNAME: webdav
+ PASSWORD: password
+ volumes:
+ - 'webdav-data:/var/webdav'
+
networks:
internal:
@@ -69,3 +78,4 @@ volumes:
vault-data:
shield-data:
shield-etc:
+ webdav-data:
