thanks again for your amazing work. I just upgraded to Vikunja 0.17 and wanted to verify the version. I found the CLI commands in the documentation, but i didnt find the right place to run these commands. (I tried executing the command in the docker api container, but it didnt work )
Also, i want to set the timezone correctly since the default is not working out. I created a config.yml inside the vikunja directory (where my docker-compose.yml is located). Inside that file i wrote:
timezone Europe/Berlin
If thats correct how do i apply this? do i need to restart the containers?
In docker you’d need to run something like docker exec -it <vikunja api container name> /app/vikunja/vikunja <vikunja subcommand> or with docker compose: docker-compose exec api /app/vikunja/vikunja <vikunja subcommand>
Since you’re running with docker, I’d suggest you to use env variables for the configuration of the container. For the time zone that would be setting an env variable VIKUNJA_SERVICE_TIMEZONE="Europe/Berlin" on the api container config. There should already be some configuration for the database if your config is based on the docker-compose examples from the docs.
After you’ve changed the config you will need to restart the container.
I was able to execute commands thanks to your help
I set the Timezone through my compose file, since i dont want to set it again after an update.
Is this correct?
Superb
When i recreate the containers (for example when you release a new version) i don’t want my config to be lost. I restarted them already to apply the changes.
I will try to set up the mailing function next week
If the config is on the container (or persisted in a mounted config.yml) it won’t get lost when switching containers as long as you don’t remove that config
I want to use your vikuinja dump command in my api as a backup-tool. If i run the command inside the docker container it creates an emtpy file and gives me the error → configration file not found
Can i solve this error by docking a config file on my api container? If so, can you give me a hint please how to do this? I can probably mount it myself, but i don’t know how to mount it in a specific path.