Compare commits
12 Commits
fix-config
...
0.2.3+0.20
Author | SHA1 | Date | |
---|---|---|---|
4cfe5f66a8 | |||
6955772632 | |||
e7addc8405 | |||
d7412e71cf | |||
2206aeca68 | |||
464d2cf3ba | |||
35d1e14a81 | |||
5bbe653775 | |||
e6d99ff449 | |||
e070a5edbf | |||
5e41b22f61 | |||
e9eae9a9d5 |
43
.drone.yml
Normal file
43
.drone.yml
Normal file
@ -0,0 +1,43 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: deploy to swarm-test.autonomic.zone
|
||||
steps:
|
||||
- name: deployment
|
||||
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||
settings:
|
||||
host: swarm-test.autonomic.zone
|
||||
stack: vikunja
|
||||
generate_secrets: true
|
||||
purge: true
|
||||
deploy_key:
|
||||
from_secret: drone_ssh_swarm_test
|
||||
networks:
|
||||
- proxy
|
||||
environment:
|
||||
DOMAIN: authentik.swarm-test.autonomic.zone
|
||||
STACK_NAME: authentik
|
||||
LETS_ENCRYPT_ENV: production
|
||||
CONFIG_YML_VERSION: v1
|
||||
SECRET_DB_PASSWORD_VERSION: v1
|
||||
SECRET_JWT_SECRET_VERSION: v1
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
---
|
||||
kind: pipeline
|
||||
name: generate recipe catalogue
|
||||
steps:
|
||||
- name: release a new version
|
||||
image: plugins/downstream
|
||||
settings:
|
||||
server: https://build.coopcloud.tech
|
||||
token:
|
||||
from_secret: drone_abra-bot_token
|
||||
fork: true
|
||||
repositories:
|
||||
- coop-cloud/auto-recipes-catalogue-json
|
||||
|
||||
trigger:
|
||||
event: tag
|
||||
|
@ -1,6 +1,6 @@
|
||||
TYPE=vikunja
|
||||
|
||||
DOMAIN={{ .Domain }}
|
||||
DOMAIN=vikunja.example.com
|
||||
|
||||
## Domain aliases
|
||||
#EXTRA_DOMAINS=', `www.vikunja.example.com`'
|
||||
@ -21,6 +21,7 @@ COMPOSE_FILE=compose.yml
|
||||
# OAUTH_NAME
|
||||
# OAUTH_URL
|
||||
# OAUTH_CLIENT_ID
|
||||
# OAUTH_LOGOUT_URL
|
||||
# SECRET_OAUTH_SECRET_VERSION=v1
|
||||
|
||||
# E-MAIL
|
||||
|
@ -7,6 +7,7 @@ services:
|
||||
- OAUTH_NAME
|
||||
- OAUTH_URL
|
||||
- OAUTH_CLIENT_ID
|
||||
- OAUTH_LOGOUT_URL
|
||||
- SECRET_OAUTH_SECRET_VERSION=V1
|
||||
secrets:
|
||||
- oauth_secret
|
||||
|
@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
api:
|
||||
image: vikunja/api:0.19.2
|
||||
image: vikunja/api:0.20.2
|
||||
environment:
|
||||
- DOMAIN
|
||||
- LOG_LEVEL
|
||||
@ -29,7 +29,7 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}_api.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
|
||||
app:
|
||||
image: vikunja/frontend:0.19.1
|
||||
image: vikunja/frontend:0.20.3
|
||||
networks:
|
||||
- proxy
|
||||
deploy:
|
||||
@ -41,7 +41,7 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.1.0+0.19.1"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.2.3+0.20.3"
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://localhost" ]
|
||||
interval: 30s
|
||||
|
@ -5,7 +5,7 @@ service:
|
||||
JWTSecret: {{ secret "jwt_secret" }}
|
||||
# # The duration of the issed JWT tokens in seconds.
|
||||
# # The default is 259200 seconds (3 Days).
|
||||
# jwtttl: 259200
|
||||
# jwtttl: 604800
|
||||
# # The duration of the "remember me" time in seconds. When the login request is made with
|
||||
# # the long param set, the token returned will be valid for this period.
|
||||
# # The default is 2592000 seconds (30 Days).
|
||||
@ -281,9 +281,9 @@ log:
|
||||
#
|
||||
# # Key Value Storage settings
|
||||
# # The Key Value Storage is used for different kinds of things like metrics and a few cache systems.
|
||||
# keyvalue:
|
||||
# # The type of the storage backend. Can be either "memory" or "redis". If "redis" is chosen it needs to be configured seperately.
|
||||
# type: "memory"
|
||||
keyvalue:
|
||||
# The type of the storage backend. Can be either "memory" or "redis". If "redis" is chosen it needs to be configured seperately.
|
||||
type: "redis"
|
||||
#
|
||||
auth:
|
||||
# Local authentication will let users log in and register (if enabled) through the db.
|
||||
@ -305,13 +305,16 @@ auth:
|
||||
enabled: {{ env "OAUTH_ENABLED" }}
|
||||
# The url to redirect clients to. Defaults to the configured frontend url. If you're using Vikunja with the official
|
||||
# frontend, you don't need to change this value.
|
||||
# redirecturl: <frontend url>
|
||||
redirecturl: https://{{ env "DOMAIN" }}/auth/openid/
|
||||
# A list of enabled providers
|
||||
providers:
|
||||
# The name of the provider as it will appear in the frontend.
|
||||
- name: {{ env "OAUTH_NAME" }}
|
||||
# The auth url to send users to if they want to authenticate using OpenID Connect.
|
||||
authurl: {{ env "OAUTH_URL" }}
|
||||
# The oidc logouturl that users will be redirected to on logout.
|
||||
# Leave empty or delete key, if you do not want to be redirected.
|
||||
logouturl: {{ env "OAUTH_LOGOUT_URL" }}
|
||||
# The client ID used to authenticate Vikunja at the OpenID Connect provider.
|
||||
clientid: {{ env "OAUTH_CLIENT_ID" }}
|
||||
# The client secret used to authenticate Vikunja at the OpenID Connect provider.
|
||||
|
Reference in New Issue
Block a user