Skip to content

Ktra and docker compose #10

Answered by moriturus
Geobert asked this question in Q&A
Feb 4, 2021 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Hello @Geobert .

First of all, ktra checks that the local index repository directory does exist or not.
If the directory exists ktra treats it as a cloned-repository then try to pull and merge the latest index from the remote repository. Otherwise ktra is going to create a new directory.
So you should not create an empty directory and the error message you have shown is caused by it.

Secondly, and as far as I know, configs settings in the docker-compose.yml won't be working unless you use the docker swarm mode.
I think the most simple way to mount your ktra.toml file to a container is using volumes feature.

Based on the above, I've tried writing a docker-compose.yml file:

version: "3.9"
s…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Geobert
Comment options

@Geobert
Comment options

@moriturus
Comment options

@Geobert
Comment options

Answer selected by Geobert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants