Wiki source code of FileSync
Version 7.1 by Jan Brinkhaus on 2023/02/03 11:35
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | Installation instructions Linux, Windows ( [[https:~~/~~/docs.docker.com/compose/install/other/ )>>https://docs.docker.com/compose/install/other/]] | ||
2 | |||
3 | Configuration in UI | ||
4 | |||
5 | Download token valid till ... | ||
6 | |||
7 | |||
8 | sudo mkdir /var/docker_data | ||
9 | |||
10 | cd /var/docker_data/ | ||
11 | |||
12 | sudo apt install docker docker-compose | ||
13 | |||
14 | sudo docker login registry.gitlab.com/v2/b3935 -u datastore-dl -p glpat-S9xzXzoUxuxGboW53r2x | ||
15 | |||
16 | sudo docker-compose up | ||
17 | |||
18 | (% class="box" %) | ||
19 | ((( | ||
20 | ##version: "3"## | ||
21 | ))) | ||
22 | |||
23 | (% class="box" %) | ||
24 | ((( | ||
25 | ##services: | ||
26 | traefik: | ||
27 | image~: traefik:v2.2 | ||
28 | command: | ||
29 | - "~-~-providers.docker" | ||
30 | - "~-~-entrypoints.web.address=:80" | ||
31 | ports: | ||
32 | - "80:80" | ||
33 | volumes: | ||
34 | - /var/run/docker.sock:/var/run/docker.sock | ||
35 | - ./data:/var/docker_data/data## | ||
36 | ))) | ||
37 | |||
38 | (% class="box" %) | ||
39 | ((( | ||
40 | ## filesync: | ||
41 | image~: registry.gitlab.com/b3935/ftpmodule/filesync:latest | ||
42 | container_name: filesync | ||
43 | restart: always | ||
44 | volumes: | ||
45 | - ./data:/app/data## | ||
46 | ))) | ||
47 | |||
48 | (% class="box" %) | ||
49 | ((( | ||
50 | ### ports: | ||
51 | # - 80:80## | ||
52 | ))) | ||
53 | |||
54 | (% class="box" %) | ||
55 | ((( | ||
56 | ## labels: | ||
57 | - "traefik.http.routers.filesync.entrypoints=web" | ||
58 | - "traefik.http.routers.filesync.rule=Host(`datastore-playground.euprogigant.io`)" | ||
59 | - "traefik.http.routers.filesync.middlewares=auth" | ||
60 | - "traefik.http.services.filesync.loadbalancer.server.port=80" | ||
61 | - "traefik.http.middlewares.auth.basicauth.users=admin:$$2y$$10$$2u0mbq4FI.EpN6Gu5O.BpO5Fh8RrXBr.MUT8JyqbYGtNfLn19OhTe" # credentials admin:changeme | ||
62 | # - "traefik.http.middlewares.auth.basicauth.usersfile=/var/docker_data/data/settings/hashedPW.txt"## | ||
63 | ))) | ||
64 | |||
65 | |||
66 |