Changes for page FileSync
Last modified by Jan Brinkhaus on 2023/02/03 13:33
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -22,8 +22,6 @@ 22 22 23 23 On a computer with Docker, just choose a target directory which fits for your case, deploy our docker-compose file there and start the app. 24 24 25 -**Suggestion for quick start for linux** 26 - 27 27 {{code language="Shell script"}} 28 28 sudo mkdir /var/docker_data 29 29 cd /var/docker_data/ ... ... @@ -33,30 +33,67 @@ 33 33 sudo docker-compose up 34 34 {{/code}} 35 35 36 -You are after wards able to log in via the web interface on port 80 of the server where you installed FileSync.34 +You are after 37 37 38 38 39 - **Suggestionforquick start forWindows**37 +sudo mkdir /var/docker_data 40 40 41 - Place thedocker-composefile from here [[https:~~/~~/xwiki.brinkhaus-gmbh.de/bin/download/Product%20support/FileSync/WebHome/docker-compose.yml?rev=1.1>>https://xwiki.brinkhaus-gmbh.de/bin/download/Product%20support/FileSync/WebHome/docker-compose.yml?rev=1.1]] inadirectory of your needs and run "docker-compose up".39 +cd /var/docker_data/ 42 42 41 +[[https:~~/~~/xwiki.brinkhaus-gmbh.de/bin/download/Product%20support/FileSync/WebHome/docker-compose.yml?rev=1.1>>https://xwiki.brinkhaus-gmbh.de/bin/download/Product%20support/FileSync/WebHome/docker-compose.yml?rev=1.1]] 43 43 44 - Variants/ hints43 +sudo apt install docker docker-compose 45 45 46 - Youcan adaptthedocker-composefile toyourlocal needs.The file which we givefor q quickstartis:45 +sudo docker login registry.gitlab.com/v2/b3935 -u datastore-dl -p glpat-S9xzXzoUxuxGboW53r2x 47 47 48 -{{code language="docker-compose"}} 49 -version: "3" 47 +sudo docker-compose up 50 50 51 -services: 52 - filesync: 53 - image: registry.gitlab.com/b3935/ftpmodule/filesync:latest 49 +(% class="box" %) 50 +((( 51 +##version: "3"## 52 +))) 53 + 54 +(% class="box" %) 55 +((( 56 +##services: 57 + traefik: 58 + image~: traefik:v2.2 59 + command: 60 + - "~-~-providers.docker" 61 + - "~-~-entrypoints.web.address=:80" 62 + ports: 63 + - "80:80" 64 + volumes: 65 + - /var/run/docker.sock:/var/run/docker.sock 66 + - ./data:/var/docker_data/data## 67 +))) 68 + 69 +(% class="box" %) 70 +((( 71 +## filesync: 72 + image~: registry.gitlab.com/b3935/ftpmodule/filesync:latest 54 54 container_name: filesync 55 55 restart: always 56 56 volumes: 57 - - ./data:/app/data 76 + - ./data:/app/data## 77 +))) 58 58 59 - ports: 60 - - 80:80 79 +(% class="box" %) 80 +((( 81 +### ports: 82 +# - 80:80## 83 +))) 61 61 62 -{{/code}} 85 +(% class="box" %) 86 +((( 87 +## labels: 88 + - "traefik.http.routers.filesync.entrypoints=web" 89 + - "traefik.http.routers.filesync.rule=Host(`datastore-playground.euprogigant.io`)" 90 + - "traefik.http.routers.filesync.middlewares=auth" 91 + - "traefik.http.services.filesync.loadbalancer.server.port=80" 92 + - "traefik.http.middlewares.auth.basicauth.users=admin:$$2y$$10$$2u0mbq4FI.EpN6Gu5O.BpO5Fh8RrXBr.MUT8JyqbYGtNfLn19OhTe" # credentials admin:changeme 93 +# - "traefik.http.middlewares.auth.basicauth.usersfile=/var/docker_data/data/settings/hashedPW.txt"## 94 +))) 95 + 96 + 97 +