Skip to content

Latest commit

 

History

History
68 lines (58 loc) · 1.32 KB

vikunja.md

File metadata and controls

68 lines (58 loc) · 1.32 KB

Vikujna

  • very active development
  • lots of features!
  • UI looks better with every update 😄

docker-compose.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

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:

touch vikunja.db