-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
60 lines (59 loc) · 1.44 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '3.3'
services:
# SERVER
test_unicloud_server:
image: agarbato1/unison-unicloud
ports:
- "2222:22"
- "5001:80"
environment:
- USER=unison
- USER_UID=1000
# - USER_GIDS=33,14
- SERVER_HOSTNAME=unicloud_testing_server
- SERVER_UI_USERNAME=admin
- SERVER_UI_PASSWORD=abcd12345
- SERVER_DEBUG=True
- ROLE=SERVER
networks:
unison:
aliases:
- unicloud_server
volumes:
- type: bind
source: ./local_tests/server
target: /data
- type: bind
source: ./local_tests/server/shares
target: /shares
# CLIENT
test_unicloud_client:
image: agarbato1/unison-unicloud
environment:
- CLIENT_HOSTNAME=testing-client1
- ROLE=CLIENT
- USER=unison
- USER_UID=1000
- SERVER_HOSTNAME=unicloud_server
- SERVER_PORT=22
- SERVER_SHARE=share1
- SHARE_IGNORE=.git*|.idea|.unison|.DS_Store
# - UNISON_PARAMS=sshargs = -o KexAlgorithms=ecdh-sha2-nistp521 -o ServerAliveInterval=60 -o ServerAliveCountMax=10
- API_PROTOCOL=http
- API_PORT=80
- SYNC_INTERVAL=120
restart: on-failure
volumes:
- type: bind
source: ./local_tests/client
target: /data
- type: bind
source: ./local_tests/client/share
target: /data/share
networks:
unison:
networks:
unison:
driver: bridge
ipam:
driver: default