<Description>Template for running Mozilla's official Syncserver image.</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></Mode>
</Variable>
<Variable>
<Value>KEY</Value>
<Name>SYNCSERVER_SECRET</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>sqlite:////data/syncserver.db</Value>
<Name>SYNCSERVER_SQLURI</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>false</Value>
<Name>SYNCSERVER_ALLOW_NEW_USER</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>5000</Value>
<Name>PORT</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>true</Value>
<Name>SYNCSERVER_BATCH_UPLOAD_ENABLED</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>false</Value>
<Name>SYNCSERVER_FORCE_WSGI_ENVIRON</Name>
<Mode></Mode>
</Variable>
</Environment>
<ConfigName="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>
<ConfigName="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>
<ConfigName="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>
<ConfigName="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>
<ConfigName="Allow new users"Target="SYNCSERVER_ALLOW_NEW_USER"Default="true"Mode=""Description="Container Variable: SYNCSERVER_ALLOW_NEW_USER"Type="Variable"Display="always"Required="true"Mask="false"></Config>