mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2026-01-02 16:11:43 +00:00
project mgmt
This commit is contained in:
67
apps/project-mgmt/vikunja.md
Normal file
67
apps/project-mgmt/vikunja.md
Normal file
@@ -0,0 +1,67 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user