Added properly configured vikunja container

This commit is contained in:
2025-01-30 00:13:28 +00:00
parent cbfb678ae7
commit c79f7bdb4e
4 changed files with 30 additions and 19 deletions

View File

@@ -10,29 +10,20 @@
services.podman.containers = {
vikunja = {
image = "docker.io/vikunja/vikunja:latest";
autoUpdate = "registry";
environment = {
VIKUNJA_SERVICE_JWTSECRET = "<a super secure random secret>";
VIKUNJA_SERVICE_JWTSECRET = config.sops.secrets.vikunja_jwt_secret.path;
VIKUNJA_SERVICE_PUBLICURL = "http://bulba.space/";
# Note the default path is /app/vikunja/vikunja.db.
# This config variable moves it to a different folder so you can use a volume and
# store the database file outside the container so state is persisted even if the container is destroyed.
VIKUNJA_DATABASE_PATH = "/db/vikunja.db";
};
environmentFiles = [
config.sops.secrets.vikunja_jwt_secret.path
];
volumes = [
"/home/cianh/vikunja/files:/app/vikunja/files"
"/home/cianh/vikunja/db:/db"
];
ports = ["3456:3456"];
};
};
# vikunja:
# image: vikunja/vikunja
# environment:
# VIKUNJA_SERVICE_JWTSECRET: <a super secure random secret>
# VIKUNJA_SERVICE_PUBLICURL: http://<your public frontend url with slash>/
# # Note the default path is /app/vikunja/vikunja.db.
# # This config variable moves it to a different folder so you can use a volume and
# # store the database file outside the container so state is persisted even if the container is destroyed.
# VIKUNJA_DATABASE_PATH: /db/vikunja.db
# ports:
# - 3456:3456
# volumes:
# - ./files:/app/vikunja/files
# - ./db:/db
# restart: unless-stopped
}