self-hosted-cookbook/apps/project-mgmt/vikunja.md

68 lines
1.3 KiB
Markdown
Raw Normal View History

2020-10-30 20:19:45 +00:00
# Vikujna
- poor and messy UI
- buggy (at the time of testing) but in active development
<br>
- [Homepage](https://vikunja.io/)
- [Git repo](https://kolaente.dev/vikunja/)
- [Demo](https://try.vikunja.io/login)
## docker-compose.yml
```yml
version: '3'
services:
api:
image: vikunja/api
container_name: vikunja-api
restart: unless-stopped
environment:
- VIKUNJA_SERVICE_TIMEZONE=Europe/Dublin
- VIKUNJA_SERVICE_ENABLEREGISTRATION=false
- VIKUNJA_SERVICE_JWTSECRET=ce23d1aezoosah2bao3ieZohkae5aicah
- VIKUNJA_CACHE_ENABLED=true
- VIKUNJA_CACHE_TYPE=memory
volumes:
- ./vikunja.db:/app/vikunja/vikunja.db
- ./files:/app/vikunja/files
frontend:
image: vikunja/frontend
container_name: vikunja-ui
restart: unless-stopped
proxy:
image: nginx
restart: unless-stopped
ports:
- 3111:80
depends_on:
- api
- frontend
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
```
## nginx.conf
```nginx
server {
listen 80;
location / {
proxy_pass http://frontend:80;
}
location ~* ^/(api|dav|\.well-known)/ {
proxy_pass http://api:3456;
client_max_body_size 20M;
}
}
```
## Tips & Tricks
Before running, ake sure that db file exists first:
```sh
touch vikunja.db
```