server Docker container should store config and message store in volume to support upgrades #152
레이블
레이블 없음
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
마일스톤 없음
참여자 2명
알림
마감일
마감일이 설정되지 않았습니다.
의존성
No dependencies set.
Reference: cwtch.im/cwtch#152
불러오는 중...
Reference in New Issue
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