server Docker container should store config and message store in volume to support upgrades #152
Tunnisteet
Ei tunnistetta
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
Ei merkkipaalua
2 osallistujaa
Ilmoitukset
Määräpäivä
Määräpäivää ei asetettu.
Riippuvuudet
Riippuvuuksia ei asetettu.
Reference: cwtch.im/cwtch#152
Ladataan…
Viittaa uudesa ongelmassa
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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