Resolves #152 #153
No reviewers
Labels
No Label
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
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cwtch.im/cwtch#153
Loading…
Reference in New Issue
No description provided.
Delete Branch "GBHC/cwtch:docker-volume-config-dir"
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?
We use the environment variable
CWTCH_CONFIG_DIR
to prefix a directory for thecwtchserver.LoadConfig
and save functions.os.GetEnv
returns a blank string if the env var is empty so shouldn't affect existing operation / scripts / config in non dockerised situations.One needs to pass the env var
CWTCH_CONFIG_DIR
of/etc/cwtch/
to match theVOLUME
specified in theDockerfile
;sudo docker run -e CWTCH_CONFIG_DIR=/etc/cwtch/ cwtch:latest
In Action
On the filesystem;
And stopping / starting;
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch/249
cwtch.im/cwtch/server
server/serverConfig.go:34: Println call has possible formatting directive %s
I'll fix that
thanks!