Este commit está contenido en:
Your Name
2020-05-28 14:49:34 +00:00
padre 8dd6a6be1a
commit b07bfb3c0e
Se han modificado 2 ficheros con 33 adiciones y 0 borrados

6
production/webdav/config.js Archivo normal
Ver fichero

@@ -0,0 +1,6 @@
module.exports = {
port: 8080,
username: 'user',
password: 'hatdav',
limit: 10000 // limit per user
}

Ver fichero

@@ -0,0 +1,27 @@
version: '2'
services:
webdav:
build: ./webdav
container_name: webdav
hostname: webdav
restart: always
entrypoint:
- /bin/bash
- /home/node/webdav/entrypoint.sh
volumes:
- ./webdav:/home/node/webdav
- ./webdav/config.js:/home/node/webdav/config.js:ro
expose:
- 8080
networks:
mynet:
ipv4_address: 172.137.0.101
networks:
mynet:
driver: bridge
ipam:
config:
- subnet: 172.137.0.0/24