Taller Docker - 0x06 - #DomingoNegro #HatThieves https://www.hatthieves.es/category/domingos-negros/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
597 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. # Parte 2: Servicio
  2. ## Servidor [webdav](https://gitea.hatthieves.es/manalejandro/webdav) (NodeJS)
  3. ![docker-webdav](../images/webdav.png)
  4. ### Clonar repositorio
  5. ```
  6. git clone https://gitea.hatthieves.es/manalejandro/webdav
  7. ```
  8. ### Instalar dependencias
  9. ```
  10. cd webdav && npm i
  11. ```
  12. ### Configurar servicio (`config.js`)
  13. ```
  14. editar archivo config.js con nuestros parámetros
  15. ```
  16. ### Arrancar servicio
  17. ```
  18. npm start
  19. ```
  20. ### Comprobar servicio y persistencia
  21. - Abrir http://localhost:8080/dav con un cliente dav y subimos un archivo
  22. - Se comprueba que existe el archivo en la carpeta compartida