seafdav and seadoc are working
This commit is contained in:
@@ -24,7 +24,6 @@
|
|||||||
import unprotected authentik host:19000
|
import unprotected authentik host:19000
|
||||||
import unprotected vouch host:9090
|
import unprotected vouch host:9090
|
||||||
import unprotected jellyfin host:8097
|
import unprotected jellyfin host:8097
|
||||||
import unprotected seafile host:8082
|
|
||||||
import unprotected pgadmin host:5050
|
import unprotected pgadmin host:5050
|
||||||
import unprotected homarr host:17575
|
import unprotected homarr host:17575
|
||||||
import unprotected jellyseerr host:15055
|
import unprotected jellyseerr host:15055
|
||||||
@@ -59,3 +58,4 @@ import sites/tesla.caddy
|
|||||||
import sites/geo.caddy
|
import sites/geo.caddy
|
||||||
import sites/auth.caddy
|
import sites/auth.caddy
|
||||||
import sites/test.caddy
|
import sites/test.caddy
|
||||||
|
import sites/seafile.caddy
|
||||||
|
|||||||
20
caddy/sites/seafile.caddy
Normal file
20
caddy/sites/seafile.caddy
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
seafile.{$SUBDOMAIN}.{$DOMAIN} {
|
||||||
|
log {
|
||||||
|
output file /var/log/seafile.log
|
||||||
|
}
|
||||||
|
|
||||||
|
rewrite /socket.io /socket.io/
|
||||||
|
|
||||||
|
handle_path /socket.io/* {
|
||||||
|
rewrite * /socket.io{path}
|
||||||
|
reverse_proxy host:7070
|
||||||
|
}
|
||||||
|
|
||||||
|
handle_path /sdoc-server/* {
|
||||||
|
reverse_proxy host:7070
|
||||||
|
}
|
||||||
|
|
||||||
|
route {
|
||||||
|
reverse_proxy host:8082
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -60,6 +60,28 @@ services:
|
|||||||
- REDIS_HOST=seafile-redis
|
- REDIS_HOST=seafile-redis
|
||||||
- REDIS_PORT=6379
|
- REDIS_PORT=6379
|
||||||
- REDIS_PASSWORD=redis
|
- REDIS_PASSWORD=redis
|
||||||
|
- ENABLE_SEADOC=true
|
||||||
|
- SEADOC_SERVER_URL=https://seafile.rik.veenboer.xyz/sdoc-server/
|
||||||
depends_on:
|
depends_on:
|
||||||
- seafile-mysql
|
- seafile-mysql
|
||||||
- seafile-redis
|
- seafile-redis
|
||||||
|
|
||||||
|
seadoc-server:
|
||||||
|
restart: unless-stopped
|
||||||
|
image: seafileltd/sdoc-server:2.0.9
|
||||||
|
container_name: seadoc-server
|
||||||
|
volumes:
|
||||||
|
- /opt/seafile/seadoc:/shared
|
||||||
|
environment:
|
||||||
|
- DB_HOST=db
|
||||||
|
- DB_PORT=3306
|
||||||
|
- DB_USER=seafile
|
||||||
|
- DB_PASSWD=PASSWORD
|
||||||
|
- DB_NAME=sdoc_db
|
||||||
|
- TIME_ZONE=Europe/Amsterdam
|
||||||
|
- JWT_PRIVATE_KEY=8LzWzeuQ41z1i8fc1cr1L7Kw80VpTgmT
|
||||||
|
- SDOC_SERVER_LETSENCRYPT=false
|
||||||
|
ports:
|
||||||
|
- 7070:80
|
||||||
|
depends_on:
|
||||||
|
- seafile-mysql
|
||||||
|
|||||||
Reference in New Issue
Block a user