server Docker container should store config and message store in volume to support upgrades #152
Etiketler
Etiket Yok
applications
BLOCKED
bug
design
duplicate
enhancement
fixed?
funding-needed
help wanted
infrastructure
invalid
payments
qubes
question
ready-for-implementation
refactor
spam
tapir-server
testing
tor
wontfix
Kilometre Taşı Yok
2 Katılımcı
Bildirimler
Bitiş Tarihi
Bitiş tarihi atanmadı.
Bağımlılıklar
Bağımlılık yok.
Referans: cwtch.im/cwtch#152
Yükleniyor…
Yeni konuda referans
Herhangi bir açıklama sağlanmadı.
"%!s(<nil>)" Dalını Sil
Bir dalı silmek kalıcıdır. Her ne kadar silinen dal tamamen kaldırılana kadar çok kısa bir süre yaşamını sürdürse de, çoğu durumda bu işlem GERİ ALINAMAZ. Devam edilsin mi?
https://stackoverflow.com/questions/26734402/how-to-upgrade-docker-container-after-its-image-changed
Yes, apologies.
I didn't want to mess with the golang code itself for t'other ticket.
The following PR resolves both issues; #153
For reference;
You should see that the new container (foo) retains the config (hidden service address etc) of the old container (container1).
any reason no to have the DOCKERFILE set the env variable of CWTCH_CONFIG_DIR to keep it even simpler to start? I can add this, I'm just adding the message store and metrics to the config dir too
None at all.
An if check in docker-entrypoint would be ideal.
done, works now, with #154