Page MenuHomePhabricator

Citoid container: Our config.yaml provided via Docker is unused?
Closed, InvalidPublic


Observed when fiddling with Citoid on deployment-docker-citoid01: It seems that the default working directory is /srv/service and the command run is node server.js. But that ignores the config from /etc/mediawiki-services-citoid/config.yaml, instead I think getting it from /srv/service/config.yaml?

This means I cannot configure Citoid to talk to Zotero using the proper IP address.

Event Timeline

Krenair created this task.May 15 2019, 1:40 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 15 2019, 1:40 AM

Maybe I can set override_cmd to handle this

hashar removed a subscriber: hashar.May 15 2019, 4:29 AM
Krenair added a comment.EditedMay 15 2019, 4:40 AM

Yep... Do wonder if service::docker should handle this somehow though. It gets the config onto the disk of the VM and then mounted inside the container, just not the step of having the service use the config?

Krenair closed this task as Invalid.May 29 2019, 1:34 PM

Now that I think more about it, that's probably not an entirely reasonable expectation. Different services might decide to accept config paths in different ways etc.