24 lines
392 B
YAML
24 lines
392 B
YAML
version: '3'
|
|
services:
|
|
webdav:
|
|
container_name: docker-webdav-nginx
|
|
restart: unless-stopped
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
environment:
|
|
- WEBDAV_USER=user
|
|
- WEBDAV_PASS=password1
|
|
networks:
|
|
- webdav
|
|
ports:
|
|
- '8888:80'
|
|
volumes:
|
|
- 'webdav:/var/www/webdav'
|
|
|
|
networks:
|
|
webdav:
|
|
|
|
volumes:
|
|
webdav:
|
|
driver: local |