2023-03-31 01:13:18 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
webdav:
|
|
|
|
container_name: docker-webdav-nginx
|
|
|
|
restart: unless-stopped
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
environment:
|
|
|
|
- WEBDAV_USER=user
|
|
|
|
- WEBDAV_PASS=password1
|
2023-06-19 19:13:42 +00:00
|
|
|
- NGINX_CLIENT_MAX_BODY_SIZE=500M
|
2023-03-31 01:13:18 +00:00
|
|
|
networks:
|
2023-03-31 01:33:21 +00:00
|
|
|
- webdav
|
2023-03-31 01:13:18 +00:00
|
|
|
ports:
|
|
|
|
- '8888:80'
|
|
|
|
volumes:
|
|
|
|
- 'webdav:/var/www/webdav'
|
|
|
|
|
|
|
|
networks:
|
2023-03-31 01:33:21 +00:00
|
|
|
webdav:
|
2023-03-31 01:13:18 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
webdav:
|
|
|
|
driver: local
|