-
Notifications
You must be signed in to change notification settings - Fork 1
/
ffsync-template.xml
88 lines (88 loc) · 4.25 KB
/
ffsync-template.xml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0"?>
<Container version="2">
<Name>FirefoxSyncserver</Name>
<Repository>mozilla/syncserver:latest</Repository>
<Registry>https://hub.docker.com/r/mozilla/syncserver</Registry>
<Network>bridge</Network>
<MyIP/>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://forums.unraid.net/topic/103334-firefox-sync-server/</Support>
<Project>https://mozilla-services.readthedocs.io/en/latest/howtos/run-sync-1.5.html</Project>
<Overview>Template for running Mozilla's official Syncserver image.</Overview>
<Category>Cloud:</Category>
<WebUI/>
<TemplateURL>https://raw.githubusercontent.com/jflo/ffsync-unraid/main/ffsync-template.xml</TemplateURL>
<Icon>https://github.com/jflo/ffsync-unraid/raw/main/Firefox_Sync_logo.png</Icon>
<ExtraParams/>
<PostArgs/>
<CPUset/>
<DateInstalled>1614556421</DateInstalled>
<DonateText/>
<DonateLink/>
<Description/>
<Networking>
<Mode>bridge</Mode>
<Publish>
<Port>
<HostPort>5000</HostPort>
<ContainerPort>5000</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
</Publish>
</Networking>
<Data>
<Volume>
<HostDir></HostDir>
<ContainerDir>/data</ContainerDir>
<Mode>rw</Mode>
</Volume>
</Data>
<Environment>
<Variable>
<Value>URL</Value>
<Name>SYNCSERVER_PUBLIC_URL</Name>
<Mode/>
</Variable>
<Variable>
<Value>KEY</Value>
<Name>SYNCSERVER_SECRET</Name>
<Mode/>
</Variable>
<Variable>
<Value>sqlite:////data/syncserver.db</Value>
<Name>SYNCSERVER_SQLURI</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>SYNCSERVER_ALLOW_NEW_USERS</Name>
<Mode/>
</Variable>
<Variable>
<Value>5000</Value>
<Name>PORT</Name>
<Mode/>
</Variable>
<Variable>
<Value>true</Value>
<Name>SYNCSERVER_BATCH_UPLOAD_ENABLED</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>SYNCSERVER_FORCE_WSGI_ENVIRON</Name>
<Mode/>
</Variable>
</Environment>
<Labels/>
<Config Name="sync db location" Target="/data" Default="/mnt/user/appdata/ff-syncserver/db/" Mode="rw" Description="Location where durable sqllite db is stored for sync data." Type="Path" Display="always" Required="true" Mask="false"></Config>
<Config Name="Syncserver Public URL" Target="SYNCSERVER_PUBLIC_URL" Default="http://&lt;URL&gt;:5000" Mode="" Description="Replace &lt;URL&gt; in SYNCSERVER_PUBLIC_URL with your URL (For which the SSL certificate was also issued) " Type="Variable" Display="always" Required="true" Mask="false"></Config>
<Config Name="Syncserver secret" Target="SYNCSERVER_SECRET" Default="&lt;KEY&gt;" Mode="" Description="Replace &lt;KEY&gt; with some random hex like the output of head -c 20 /dev/urandom | sha1sum | awk '{print $1}'." Type="Variable" Display="always" Required="true" Mask="true"></Config>
<Config Name="SQLlite URI" Target="SYNCSERVER_SQLURI" Default="sqlite:////data/syncserver.db" Mode="" Description="Container path to where sqllite db lives" Type="Variable" Display="always-hide" Required="false" Mask="false">sqlite:////data/syncserver.db</Config>
<Config Name="Allow new users" Target="SYNCSERVER_ALLOW_NEW_USERS" Default="true" Mode="" Description="Container Variable: SYNCSERVER_ALLOW_NEW_USERS" Type="Variable" Display="always" Required="true" Mask="false"></Config>
<Config Name="Port" Target="PORT" Default="5000" Mode="" Description="Container Variable: PORT" Type="Variable" Display="always" Required="false" Mask="false">5000</Config>
<Config Name="Listening on" Target="5000" Default="5000" Mode="tcp" Description="Container Port: 5000" Type="Port" Display="always" Required="true" Mask="false">5000</Config>
<Config Name="Enable batch uploads" Target="SYNCSERVER_BATCH_UPLOAD_ENABLED" Default="true" Mode="" Description="Container Variable: SYNCSERVER_BATCH_UPLOAD_ENABLED" Type="Variable" Display="advanced" Required="false" Mask="false">true</Config>
<Config Name="Force WSGI" Target="SYNCSERVER_FORCE_WSGI_ENVIRON" Default="true" Mode="" Description="Container Variable: SYNCSERVER_FORCE_WSGI_ENVIRON" Type="Variable" Display="advanced" Required="false" Mask="false">false</Config>
</Container>