server Docker container should store config and message store in volume to support upgrades #152
Etiquetas
Sin etiquetas
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
Sin Milestone
2 participantes
Notificaciones
Fecha de vencimiento
Sin fecha de vencimiento.
Dependencias
No se han establecido dependencias.
Referencia: cwtch.im/cwtch#152
Cargando…
Referencia en una nueva incidencia
No se ha proporcionado una descripción.
Eliminar rama "%!s(<nil>) "
Eliminar una rama es permanente. Aunque la rama eliminada puede continuar existiendo durante un corto tiempo antes de que sea eliminada, en la mayoría de los casos NO PUEDE deshacerse. ¿Continuar?
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