feat: wekan on apoc
This commit is contained in:
parent
996f4b5a5d
commit
40037ba5e9
4 changed files with 60 additions and 3 deletions
servers/apoc
docker-compose.d
setup.d
|
@ -0,0 +1,8 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name boards.ixvd.net;
|
||||
|
||||
location / {
|
||||
proxy_pass http://wekan:8080$request_uri;
|
||||
}
|
||||
}
|
49
servers/apoc/docker-compose.d/docker-compose.wekan.yml
Normal file
49
servers/apoc/docker-compose.d/docker-compose.wekan.yml
Normal file
|
@ -0,0 +1,49 @@
|
|||
version: '2.2'
|
||||
services:
|
||||
wekandb:
|
||||
image: mongo:6
|
||||
restart: always
|
||||
command: mongod --logpath /dev/null --oplogSize 128 --quiet
|
||||
networks:
|
||||
- wekan-tier
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /srv/wekan/other/db:/data/db
|
||||
|
||||
wekan:
|
||||
image: ghcr.io/wekan/wekan:latest
|
||||
restart: always
|
||||
env_file:
|
||||
- /etc/ixvd/secrets/env/wekan.env
|
||||
environment:
|
||||
ROOT_URL: "https://boards.ixvd.net"
|
||||
WRITABLE_PATH: "/data"
|
||||
MONGO_URL: "mongodb://wekandb:27017/wekan"
|
||||
MAIL_FROM: "Wekan Notifications <boards@ixvd.net>"
|
||||
WITH_API: "true"
|
||||
RICHER_CARD_COMMENT_EDITOR: "false"
|
||||
CARD_OPENED_WEBHOOK_ENABLED: "false"
|
||||
BIGEVENTS_PATTERN: "NONE"
|
||||
BROWSER_POLICY_ENABLED: "true"
|
||||
OIDC_REDIRECTION_ENABLED: "true"
|
||||
OAUTH2_ENABLED: "true"
|
||||
OAUTH2_LOGIN_STYLE: "redirect"
|
||||
depends_on:
|
||||
- wekandb
|
||||
networks:
|
||||
- wekan-tier
|
||||
- proxy
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- wekan-data:/data:rw
|
||||
|
||||
volumes:
|
||||
wekan-data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
device: /srv/wekan/data
|
||||
o: bind
|
||||
|
||||
networks:
|
||||
wekan-tier:
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
mkdir -p /srv/woodpecker/data
|
3
servers/apoc/setup.d/80-wekan.sh
Normal file
3
servers/apoc/setup.d/80-wekan.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
mkdir -p /srv/wekan/data
|
Loading…
Reference in a new issue