Fix vikunja. (#1165)
This commit is contained in:
parent
f8d9601421
commit
37b6f6820e
|
@ -5,9 +5,11 @@
|
||||||
"exposable": true,
|
"exposable": true,
|
||||||
"port": 8135,
|
"port": 8135,
|
||||||
"id": "vikunja",
|
"id": "vikunja",
|
||||||
"tipi_version": 5,
|
"tipi_version": 6,
|
||||||
"version": "0.21.0",
|
"version": "0.21.0",
|
||||||
"categories": ["utilities"],
|
"categories": [
|
||||||
|
"utilities"
|
||||||
|
],
|
||||||
"description": "The Todo-app to organize your life.",
|
"description": "The Todo-app to organize your life.",
|
||||||
"short_desc": "The Todo-app to organize your life.",
|
"short_desc": "The Todo-app to organize your life.",
|
||||||
"author": "kolaente",
|
"author": "kolaente",
|
||||||
|
@ -17,13 +19,12 @@
|
||||||
{
|
{
|
||||||
"type": "random",
|
"type": "random",
|
||||||
"label": "Vikunja database password",
|
"label": "Vikunja database password",
|
||||||
"random": true,
|
|
||||||
"env_variable": "VIKUNJA_DB_PASSWORD"
|
"env_variable": "VIKUNJA_DB_PASSWORD"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "random",
|
"type": "random",
|
||||||
"label": "Vikunja jwt secret",
|
"label": "Vikunja secret",
|
||||||
"env_variable": "VIKUNJA_SERVICE_JWTSECRET"
|
"env_variable": "VIKUNJA_SERVICE_SECRET"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +1,11 @@
|
||||||
worker_processes 1;
|
server {
|
||||||
|
|
||||||
error_log /var/log/nginx/error.log debug;
|
|
||||||
|
|
||||||
events {
|
|
||||||
worker_connections 1024;
|
|
||||||
}
|
|
||||||
|
|
||||||
http {
|
|
||||||
server {
|
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://vikunja-frontend:80;
|
proxy_pass http://vikunja:80;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~* ^/(api|dav|\.well-known)/ {
|
location ~* ^/(api|dav|\.well-known)/ {
|
||||||
proxy_pass http://vikunja-api:3456;
|
proxy_pass http://vikunja-api:3456;
|
||||||
client_max_body_size 20M;
|
client_max_body_size 20M;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,34 +1,5 @@
|
||||||
version: "3.7"
|
version: "3.7"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
vikunja:
|
|
||||||
depends_on:
|
|
||||||
- vikunja-api
|
|
||||||
container_name: vikunja
|
|
||||||
image: vikunja/frontend:0.21.0
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- tipi_main_network
|
|
||||||
|
|
||||||
vikunja-api:
|
|
||||||
container_name: vikunja-api
|
|
||||||
image: vikunja/api:0.21.0
|
|
||||||
environment:
|
|
||||||
VIKUNJA_DATABASE_HOST: vikunja-db
|
|
||||||
VIKUNJA_DATABASE_PASSWORD: ${VIKUNJA_DB_PASSWORD}
|
|
||||||
VIKUNJA_DATABASE_TYPE: postgres
|
|
||||||
VIKUNJA_DATABASE_USER: tipi
|
|
||||||
VIKUNJA_SERVICE_JWTSECRET: ${VIKUNJA_SERVICE_JWTSECRET}
|
|
||||||
VIKUNJA_SERVICE_FRONTENDURL: ${APP_PROTOCOL:-http}://${APP_DOMAIN}/
|
|
||||||
volumes:
|
|
||||||
- ${APP_DATA_DIR}/data/files:/app/vikunja/files
|
|
||||||
restart: unless-stopped
|
|
||||||
depends_on:
|
|
||||||
vikunja-db:
|
|
||||||
condition: service_healthy
|
|
||||||
networks:
|
|
||||||
- tipi_main_network
|
|
||||||
|
|
||||||
vikunja-db:
|
vikunja-db:
|
||||||
container_name: vikunja-db
|
container_name: vikunja-db
|
||||||
image: postgres:14
|
image: postgres:14
|
||||||
|
@ -45,14 +16,38 @@ services:
|
||||||
retries: 5
|
retries: 5
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
|
vikunja-api:
|
||||||
vikunja-proxy:
|
container_name: vikunja-api
|
||||||
|
image: vikunja/api:0.21.0
|
||||||
|
environment:
|
||||||
|
VIKUNJA_DATABASE_HOST: vikunja-db
|
||||||
|
VIKUNJA_DATABASE_PASSWORD: ${VIKUNJA_DB_PASSWORD}
|
||||||
|
VIKUNJA_DATABASE_TYPE: postgres
|
||||||
|
VIKUNJA_DATABASE_USER: tipi
|
||||||
|
VIKUNJA_DATABASE_DATABASE: vikunja
|
||||||
|
VIKUNJA_SERVICE_JWTSECRET: ${VIKUNJA_SERVICE_SECRET}
|
||||||
|
VIKUNJA_SERVICE_FRONTENDURL: ${APP_PROTOCOL:-http}://${APP_DOMAIN}/
|
||||||
|
volumes:
|
||||||
|
- ${APP_DATA_DIR}/data/files:/app/vikunja/files
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
vikunja-db:
|
||||||
|
condition: service_healthy
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
vikunja:
|
||||||
|
image: vikunja/frontend:0.21.0
|
||||||
|
restart: unless-stopped
|
||||||
container_name: vikunja
|
container_name: vikunja
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
vikunja-proxy:
|
||||||
image: nginx
|
image: nginx
|
||||||
|
container_name: vikunja-proxy
|
||||||
ports:
|
ports:
|
||||||
- ${APP_PORT}:80
|
- ${APP_PORT}:80
|
||||||
volumes:
|
volumes:
|
||||||
- ${APP_DATA_DIR}/data/proxy/nginx.conf:/etc/nginx/nginx.conf:ro
|
- ${APP_DATA_DIR}/data/proxy/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
- vikunja-api
|
- vikunja-api
|
||||||
- vikunja
|
- vikunja
|
||||||
|
|
Loading…
Reference in New Issue
Block a user