From 62838a6e26cad7c438887248932c998c0e1816cf Mon Sep 17 00:00:00 2001 From: Andy Bunce Date: Thu, 9 Jan 2025 21:59:53 +0000 Subject: [PATCH] [add] vikunja --- vikunja/docker-compose.yaml | 34 ++++++++++++++++++++++++++++++++++ vikunja/files/.gitignore | 8 ++++++++ vikunja/readme.md | 1 + 3 files changed, 43 insertions(+) create mode 100644 vikunja/docker-compose.yaml create mode 100644 vikunja/files/.gitignore create mode 100644 vikunja/readme.md diff --git a/vikunja/docker-compose.yaml b/vikunja/docker-compose.yaml new file mode 100644 index 0000000..e775d98 --- /dev/null +++ b/vikunja/docker-compose.yaml @@ -0,0 +1,34 @@ +services: + vikunja: + image: vikunja/vikunja + environment: + VIKUNJA_SERVICE_PUBLICURL: http:// + VIKUNJA_DATABASE_HOST: db + VIKUNJA_DATABASE_PASSWORD: changeme + VIKUNJA_DATABASE_TYPE: mysql + VIKUNJA_DATABASE_USER: vikunja + VIKUNJA_DATABASE_DATABASE: vikunja + VIKUNJA_SERVICE_JWTSECRET: + ports: + - 3456:3456 + volumes: + - ./files:/app/vikunja/files + depends_on: + db: + condition: service_healthy + restart: unless-stopped + db: + image: mariadb:10 + command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci + environment: + MYSQL_ROOT_PASSWORD: supersecret + MYSQL_USER: vikunja + MYSQL_PASSWORD: changeme + MYSQL_DATABASE: vikunja + volumes: + - ./db:/var/lib/mysql + restart: unless-stopped + healthcheck: + test: ["CMD-SHELL", "mysqladmin ping -h localhost -u $$MYSQL_USER --password=$$MYSQL_PASSWORD"] + interval: 2s + start_period: 30s \ No newline at end of file diff --git a/vikunja/files/.gitignore b/vikunja/files/.gitignore new file mode 100644 index 0000000..1e04ba0 --- /dev/null +++ b/vikunja/files/.gitignore @@ -0,0 +1,8 @@ +# .gitignore sample +################### + +# Ignore all files in this dir... +* + +# ... except for this one. +!.gitignore diff --git a/vikunja/readme.md b/vikunja/readme.md new file mode 100644 index 0000000..1aa9bf8 --- /dev/null +++ b/vikunja/readme.md @@ -0,0 +1 @@ +https://vikunja.io