Compare commits

..

7 Commits

Author SHA1 Message Date
3768fb6de4 chore(deps): update dev-dependencies
Some checks failed
continuous-integration/drone/pr Build is failing
2024-02-12 08:05:36 +00:00
6defc4cba2
fix(ci): use correct docker image for frontend testing
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2024-02-11 18:46:46 +01:00
3abdf2ccdd
feat(ci): automatically create a gitea release when tagging
Some checks reported errors
continuous-integration/drone/push Build was killed
2024-02-11 18:45:15 +01:00
001268a33e
docs: add healthcheck to docker compose examples
Some checks reported errors
continuous-integration/drone/push Build was killed
2024-02-11 18:39:53 +01:00
3129051a9c
fix(ci): enable cors for api testing
Some checks failed
continuous-integration/drone/push Build is failing
2024-02-11 18:19:57 +01:00
45c97a456d
feat(ci): rename unstable desktop packages
Some checks failed
continuous-integration/drone/push Build is failing
2024-02-11 17:02:37 +01:00
1255bdc4ab
docs: add desktop packages 2024-02-11 16:54:53 +01:00
6 changed files with 95 additions and 17 deletions

View File

@ -353,11 +353,12 @@ trigger:
services:
- name: api
image: vikunja/api:unstable
image: vikunja/vikunja:unstable
pull: always
environment:
VIKUNJA_SERVICE_TESTINGTOKEN: averyLongSecretToSe33dtheDB
VIKUNJA_LOG_LEVEL: DEBUG
VIKUNJA_CORS_ENABLE: 1
steps:
- name: dependencies
@ -783,6 +784,20 @@ steps:
- tag
depends_on: [ build-os-packages-version ]
- name: gitea-release
image: plugins/gitea-release
pull: true
settings:
api_key:
from_secret: gitea_token
base_url: https://kolaente.dev
files: dist/zip/*
prerelease: true
title: ${DRONE_TAG##v}
when:
event:
- tag
depends_on: [ sign-release ]
---
kind: pipeline
@ -1199,8 +1214,21 @@ steps:
# - '.cache'
# depends_on:
# - build
- name: rename-unstable
image: apline
pull: true
commands:
- cd desktop/dist
- for file in Vikunja*; do suffix=".${file##*.}"; if [[ ! -d $file ]]; then mv "$file" "Vikunja-Desktop-unstable${suffix}"; fi; done
depends_on:
- build
when:
event:
exclude:
- tag
- name: release-latest
- name: release-unstable
image: plugins/s3
pull: true
settings:
@ -1213,13 +1241,14 @@ steps:
region: fr-par
path_style: true
strip_prefix: desktop/dist/
source: desktop/dist/*
source: desktop/dist/Vikunja-Desktop*
target: /desktop/unstable/
when:
event:
exclude:
- tag
depends_on: [ build ]
depends_on:
- rename-unstable
- name: release-version
image: plugins/s3
@ -1360,6 +1389,6 @@ steps:
- failure
---
kind: signature
hmac: 128214182f90834702da16ed7b0f1dec09dc61bbbe7f293aea7cb6c46e7edae2
hmac: ecafdfbeb29047bf6c3603cc186c106550184d8bbb6befe05d359f8b5c983ae0
...

View File

@ -0,0 +1,30 @@
---
title: "Desktop Packages"
date: 2024-02-11T15:58:18+01:00
draft: false
type: "doc"
menu:
sidebar:
parent: "setup"
---
# Desktop Packages
Vikunja is available as an electron-based desktop application for Linux and Windows.
## Installation
1. Download the latest release for your platform from [the download page](https://dl.vikunja.io/desktop/).
* For Windows, choose the file with the `.exe` or `.msi` file ending
* For a Linux-based operating system, choose a file with an ending for your operating system - we have builds for Alpine, AppImage, Arch Linux, Debian-based systems, FreeBSD, Fedora and Snap.
2. Run the downloaded package in the same way you would normally install a package for your OS.
## Flatpack
Vikunja Desktop can be installed via the [Flathub](https://flathub.org/apps/io.vikunja.Vikunja).
To install it, run the following command:
```
flatpak install flathub io.vikunja.Vikunja
```

View File

@ -47,7 +47,8 @@ services:
volumes:
- ./files:/app/vikunja/files
depends_on:
- db
db:
condition: service_healthy
restart: unless-stopped
db:
image: mariadb:10
@ -60,6 +61,9 @@ services:
volumes:
- ./db:/var/lib/mysql
restart: unless-stopped
healthcheck:
test: ["CMD", "mysqladmin", "ping", "--silent"]
interval: 2s
```
This defines two services, each with their own container:

View File

@ -34,13 +34,16 @@ To use postgres as a database backend, change the `db` section of the examples t
```yaml
db:
image: postgres:13
image: postgres:16
environment:
POSTGRES_PASSWORD: secret
POSTGRES_USER: vikunja
volumes:
- ./db:/var/lib/postgresql/data
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 2s
```
You'll also need to change the `VIKUNJA_DATABASE_TYPE` to `postgres` on the api container declaration.
@ -111,7 +114,8 @@ services:
volumes:
- ./files:/app/vikunja/files
depends_on:
- db
db:
condition: service_healthy
restart: unless-stopped
db:
image: mariadb:10
@ -124,6 +128,9 @@ services:
volumes:
- ./db:/var/lib/mysql
restart: unless-stopped
healthcheck:
test: ["CMD", "mysqladmin", "ping", "--silent"]
interval: 2s
```
## Example with Traefik 2
@ -156,7 +163,8 @@ services:
- web
- default
depends_on:
- db
db:
condition: service_healthy
restart: unless-stopped
labels:
- "traefik.enable=true"
@ -175,6 +183,9 @@ services:
volumes:
- ./db:/var/lib/mysql
restart: unless-stopped
healthcheck:
test: ["CMD", "mysqladmin", "ping", "--silent"]
interval: 2s
networks:
web:
@ -215,7 +226,8 @@ services:
volumes:
- ./files:/app/vikunja/files
depends_on:
- db
db:
condition: service_healthy
restart: unless-stopped
db:
image: mariadb:10
@ -228,6 +240,9 @@ services:
volumes:
- ./db:/var/lib/mysql
restart: unless-stopped
healthcheck:
test: ["CMD", "mysqladmin", "ping", "--silent"]
interval: 2s
caddy:
image: caddy
restart: unless-stopped

View File

@ -151,7 +151,7 @@
"@vue/tsconfig": "0.5.1",
"autoprefixer": "10.4.17",
"browserslist": "4.22.3",
"caniuse-lite": "1.0.30001585",
"caniuse-lite": "1.0.30001587",
"css-has-pseudo": "6.0.1",
"csstype": "3.1.3",
"cypress": "13.6.4",

View File

@ -313,8 +313,8 @@ devDependencies:
specifier: 4.22.3
version: 4.22.3
caniuse-lite:
specifier: 1.0.30001585
version: 1.0.30001585
specifier: 1.0.30001587
version: 1.0.30001587
css-has-pseudo:
specifier: 6.0.1
version: 6.0.1(postcss@8.4.35)
@ -5605,7 +5605,7 @@ packages:
postcss: ^8.1.0
dependencies:
browserslist: 4.22.3
caniuse-lite: 1.0.30001585
caniuse-lite: 1.0.30001587
fraction.js: 4.3.7
normalize-range: 0.1.2
picocolors: 1.0.0
@ -5786,7 +5786,7 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
dependencies:
caniuse-lite: 1.0.30001585
caniuse-lite: 1.0.30001587
electron-to-chromium: 1.4.648
node-releases: 2.0.14
update-browserslist-db: 1.0.13(browserslist@4.22.3)
@ -5872,8 +5872,8 @@ packages:
engines: {node: '>=6'}
dev: true
/caniuse-lite@1.0.30001585:
resolution: {integrity: sha512-yr2BWR1yLXQ8fMpdS/4ZZXpseBgE7o4g41x3a6AJOqZuOi+iE/WdJYAuZ6Y95i4Ohd2Y+9MzIWRR+uGABH4s3Q==}
/caniuse-lite@1.0.30001587:
resolution: {integrity: sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==}
dev: true
/capital-case@1.0.4: