Wiki source code of FileSync

Version 7.2 by Jan Brinkhaus on 2023/02/03 11:46

Show last authors
1 = Prerequisite: Docker installation =
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
5 If you already have a server or VM with a running docker, just skip this chapter and go on with "Installation".
6
7 === Install docker on linux ===
8
9 The installation of docker on linux is straightforward. If you Google this topic you will find explanations from the Docker website which invite you to do a manual installation of docker by downloading and installing their actual version. From a technical perspective this is not needed. At least Brinkhaus does not need bleeding edge docker installation. We recommend to just use the docker version which comes from your Linux distribution.
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 {{code language="Shell script"}}
26 sudo mkdir /var/docker_data
27 cd /var/docker_data/
28 wget https://xwiki.brinkhaus-gmbh.de/bin/download/Product%20support/FileSync/WebHome/docker-compose.yml?rev=1.1
29 sudo docker login registry.gitlab.com/v2/b3935 -u datastore-dl -p glpat-S9xzXzoUxuxGboW53r2x
30
31 sudo docker-compose up
32 {{/code}}
33
34 You are after
35
36
37 sudo mkdir /var/docker_data
38
39 cd /var/docker_data/
40
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]]
42
43 sudo apt install docker docker-compose
44
45 sudo docker login registry.gitlab.com/v2/b3935 -u datastore-dl -p glpat-S9xzXzoUxuxGboW53r2x
46
47 sudo docker-compose up
48
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
73 container_name: filesync
74 restart: always
75 volumes:
76 - ./data:/app/data##
77 )))
78
79 (% class="box" %)
80 (((
81 ###    ports:
82 #      - 80:80##
83 )))
84
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

Need support?

If you need support feel free to contact:

Jan Brinkhaus: 0049 179 3939 733