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)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,62 +1,62 @@ 1 - =Prerequisite: Docker installation=1 +Download token valid till ... 2 2 3 -FileSync is deployed as docker container. You need a running docker installation for it to be installed. if you setup a new VM for this, we suggest the newest Ubuntu LTS release. 4 4 5 - If youalready have a serverorVM withaunningdocker, just skip this chapter andgo on with "Installation".4 +sudo mkdir /var/docker_data 6 6 7 - ===Installdockeron linux ===6 +cd /var/docker_data/ 8 8 9 - The installation of docker on linux is straightforward. If youGoogle this topic you will find explanationsfrom the Docker website which invite you to do a manual installationofdockerbydownloading and installing their actual version. From a technical perspective this is not needed. At least Brinkhaus does not need bleeding edge dockerinstallation. We recommend tojust usethe docker version which comes from your Linux distribution.8 +sudo apt install docker docker-compose 10 10 11 -On a typical Ubuntu or Debian you go with 12 - 13 -{{code language="Shell script"}} 14 -sudo apt install docker-compose 15 -{{/code}} 16 - 17 -=== Install docker on Windows === 18 - 19 -The installation of docker for Windows is described here: [[https:~~/~~/docs.docker.com/desktop/install/windows-install/>>https://docs.docker.com/desktop/install/windows-install/]] 20 - 21 -= Installation = 22 - 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 - 25 -**Suggestion for quick start for linux** 26 - 27 -{{code language="Shell script"}} 28 -sudo mkdir /var/docker_data 29 -cd /var/docker_data/ 30 -wget https://xwiki.brinkhaus-gmbh.de/bin/download/Product%20support/FileSync/WebHome/docker-compose.yml?rev=1.1 31 31 sudo docker login registry.gitlab.com/v2/b3935 -u datastore-dl -p glpat-S9xzXzoUxuxGboW53r2x 32 32 33 33 sudo docker-compose up 34 -{{/code}} 35 35 36 -You are afterwards able to log in via the web interface on port 80 of the server where you installed FileSync. 14 +(% class="box" %) 15 +((( 16 +##version: "3"## 17 +))) 37 37 19 +(% class="box" %) 20 +((( 21 +##services: 22 + traefik: 23 + image~: traefik:v2.2 24 + command: 25 + - "~-~-providers.docker" 26 + - "~-~-entrypoints.web.address=:80" 27 + ports: 28 + - "80:80" 29 + volumes: 30 + - /var/run/docker.sock:/var/run/docker.sock 31 + - ./data:/var/docker_data/data## 32 +))) 38 38 39 -**Suggestion for quick start for Windows** 40 - 41 -Place the docker-compose file 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]] in a directory of your needs and run "docker-compose up". 42 - 43 - 44 -= Variants / hints = 45 - 46 -You can adapt the docker-compose file to your local needs. The file which we give for q quick start is: 47 - 48 -{{code language="docker-compose"}} 49 -version: "3" 50 - 51 -services: 52 - filesync: 53 - image: registry.gitlab.com/b3935/ftpmodule/filesync:latest 34 +(% class="box" %) 35 +((( 36 +## filesync: 37 + image~: registry.gitlab.com/b3935/ftpmodule/filesync:latest 54 54 container_name: filesync 55 55 restart: always 56 56 volumes: 57 - - ./data:/app/data 41 + - ./data:/app/data## 42 +))) 58 58 59 - ports: 60 - - 80:80 44 +(% class="box" %) 45 +((( 46 +### ports: 47 +# - 80:80## 48 +))) 61 61 62 -{{/code}} 50 +(% class="box" %) 51 +((( 52 +## labels: 53 + - "traefik.http.routers.filesync.entrypoints=web" 54 + - "traefik.http.routers.filesync.rule=Host(`datastore-playground.euprogigant.io`)" 55 + - "traefik.http.routers.filesync.middlewares=auth" 56 + - "traefik.http.services.filesync.loadbalancer.server.port=80" 57 + - "traefik.http.middlewares.auth.basicauth.users=admin:$$2y$$10$$2u0mbq4FI.EpN6Gu5O.BpO5Fh8RrXBr.MUT8JyqbYGtNfLn19OhTe" # credentials admin:changeme 58 +# - "traefik.http.middlewares.auth.basicauth.usersfile=/var/docker_data/data/settings/hashedPW.txt"## 59 +))) 60 + 61 + 62 +
- docker-compose.yml
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.brinkhaus - Size
-
... ... @@ -1,1 +1,0 @@ 1 -236 bytes - Content
-
... ... @@ -1,15 +1,0 @@ 1 -version: "3" 2 - 3 -services: 4 - 5 - filesync: 6 - image: registry.gitlab.com/b3935/ftpmodule/filesync:latest 7 - container_name: filesync 8 - restart: unless-stopped 9 - 10 - volumes: 11 - - ./data:/app/data 12 - 13 - ports: 14 - - 80:80 15 -