Not sure why I didn’t think of this before, but I did a bit of research on the bug above, and the part where it overwrites /etc/localtime can be skipped entirely if it has TIME_ZONE set.
So, I added an env var to the rockon and it seems to be working better:
{
"Seafile-Official": {
"containers": {
"seafile": {
"image": "seafileltd/seafile",
"launch_order": 1,
"ports": {
"80": {
"description": "Seafile WebUI port. Suggested default: 8080",
"host_default": 8080,
"label": "WebUI port",
"ui": true
}
},
"volumes": {
"/shared": {
"description": "Choose a Share for Seafile. Eg: create a Share called seafile-all for this purpose alone.",
"label": "Storage",
"min_size": 1073741824
}
},
"environment": {
"TIME_ZONE": {
"description": "The TZ Database Name of your time zone, e.g. America/New_York",
"label": "Time Zone"
}
}
}
},
"version": "latest",
"description": "Secure file sharing and hosting",
"icon": "https://avatars2.githubusercontent.com/u/1948782?s=400&v=4",
"more_info": "<p>Default username for your Seafile UI is<code>me@example.com</code>and password is<code>asecret</code></p>",
"ui": {
"slug": ""
},
"website": "https://seafile.org/"
}
}
I’ve had some success with it, although it’s bit a while so I’m not totally sure if I’m duplicating the issue correctly (and therefore fixing it). Could someone else test this out?
Also, is there a better way to get the time zone than asking the user?