Wiki source code of FileSync
Version 7.5 by Jan Brinkhaus on 2023/02/03 11:52
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
7.2 | 1 | = Prerequisite: Docker installation = |
![]() |
3.1 | 2 | |
![]() |
7.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. |
![]() |
3.1 | 4 | |
![]() |
7.2 | 5 | If you already have a server or VM with a running docker, just skip this chapter and go on with "Installation". |
![]() |
2.1 | 6 | |
![]() |
7.2 | 7 | === Install docker on linux === |
![]() |
2.1 | 8 | |
![]() |
7.2 | 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 | |||
![]() |
7.3 | 25 | **Suggestion for quick start for linux** |
26 | |||
![]() |
7.2 | 27 | {{code language="Shell script"}} |
![]() |
1.1 | 28 | sudo mkdir /var/docker_data |
![]() |
7.2 | 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 | sudo docker login registry.gitlab.com/v2/b3935 -u datastore-dl -p glpat-S9xzXzoUxuxGboW53r2x | ||
![]() |
1.1 | 32 | |
![]() |
7.2 | 33 | sudo docker-compose up |
34 | {{/code}} | ||
35 | |||
![]() |
7.3 | 36 | You are afterwards able to log in via the web interface on port 80 of the server where you installed FileSync. |
![]() |
7.2 | 37 | |
38 | |||
![]() |
7.3 | 39 | **Suggestion for quick start for Windows** |
![]() |
7.2 | 40 | |
![]() |
7.4 | 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". |
![]() |
1.1 | 42 | |
![]() |
2.1 | 43 | |
![]() |
7.5 | 44 | = Variants / hints = |
![]() |
2.1 | 45 | |
![]() |
7.4 | 46 | You can adapt the docker-compose file to your local needs. The file which we give for q quick start is: |
![]() |
2.1 | 47 | |
![]() |
7.4 | 48 | {{code language="docker-compose"}} |
49 | version: "3" | ||
50 | |||
51 | services: | ||
52 | filesync: | ||
53 | image: registry.gitlab.com/b3935/ftpmodule/filesync:latest | ||
![]() |
2.1 | 54 | container_name: filesync |
55 | restart: always | ||
56 | volumes: | ||
![]() |
7.4 | 57 | - ./data:/app/data |
![]() |
2.1 | 58 | |
![]() |
7.4 | 59 | ports: |
60 | - 80:80 | ||
![]() |
2.1 | 61 | |
![]() |
7.4 | 62 | {{/code}} |