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

69 lines
1.3 KiB
Markdown
Raw Normal View History

2020-10-30 20:19:45 +00:00
# Vikujna
2021-04-19 12:34:28 +00:00
- very active development
- lots of features!
- UI looks better with every update 😄
2020-10-30 20:19:45 +00:00
<br>
- [Homepage](https://vikunja.io/)
- [Git repo](https://kolaente.dev/vikunja/)
2021-04-19 12:34:28 +00:00
- [Demo](https://try.vikunja.io/login) (demo:demo)
2020-10-30 20:19:45 +00:00
## 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
```