start old seafile again
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
rik.veenboer.xyz \
|
rik.veenboer.xyz \
|
||||||
*.rik.veenboer.xyz \
|
*.rik.veenboer.xyz \
|
||||||
{
|
{
|
||||||
# reverse_proxy nginx
|
reverse_proxy nginx
|
||||||
handle_path /test/* {
|
handle_path /test/* {
|
||||||
reverse_proxy host:12345
|
reverse_proxy host:12345
|
||||||
}
|
}
|
||||||
@@ -63,7 +63,7 @@ import unprotected grafana host:3333
|
|||||||
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
|
||||||
import unprotected seafile host:12380
|
#import unprotected seafile host:12380
|
||||||
|
|
||||||
(authentik) {
|
(authentik) {
|
||||||
reverse_proxy /outpost.goauthentik.io/* http://host:19000
|
reverse_proxy /outpost.goauthentik.io/* http://host:19000
|
||||||
@@ -238,16 +238,3 @@ geo.rik.veenboer.xyz {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
xx.rik.veenboer.xyz {
|
|
||||||
log {
|
|
||||||
output file /var/log/seafile.log
|
|
||||||
}
|
|
||||||
handle /seafhttp* {
|
|
||||||
uri strip_prefix seafhttp
|
|
||||||
reverse_proxy host:18082
|
|
||||||
}
|
|
||||||
handle {
|
|
||||||
reverse_proxy host:12380
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -15,44 +15,3 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /opt/seafile:/seafile
|
- /opt/seafile:/seafile
|
||||||
- /media/sync/seafile:/seafile/seafile-data
|
- /media/sync/seafile:/seafile/seafile-data
|
||||||
|
|
||||||
seafile-mysql:
|
|
||||||
image: mariadb:10.11
|
|
||||||
container_name: seafile-mysql
|
|
||||||
environment:
|
|
||||||
- MYSQL_ROOT_PASSWORD=${SEAFILE_MYSQL_DB_PASSWORD}
|
|
||||||
# - MYSQL_LOG_CONSOLE=true
|
|
||||||
- MARIADB_AUTO_UPGRADE=1
|
|
||||||
# volumes:
|
|
||||||
# - /opt/seafile-new/tmp:/host
|
|
||||||
# - /opt/seafile-new/db:/var/lib/mysql
|
|
||||||
env_file:
|
|
||||||
- /opt/seafile-new/.env
|
|
||||||
|
|
||||||
seafile-memcached:
|
|
||||||
image: memcached:1.6.18
|
|
||||||
container_name: seafile-memcached
|
|
||||||
entrypoint: memcached -m 256
|
|
||||||
|
|
||||||
seafile-server:
|
|
||||||
image: seafileltd/seafile-mc:12.0-latest
|
|
||||||
container_name: seafile-server
|
|
||||||
ports:
|
|
||||||
- "12380:80"
|
|
||||||
- 8100:8000
|
|
||||||
- 8180:8080
|
|
||||||
- 8182:8082
|
|
||||||
# volumes:
|
|
||||||
# - /opt/seafile-new/tmp:/host
|
|
||||||
# - /opt/seafile-new/server:/shared
|
|
||||||
# - /media/sync/seafile:/shared/seafile/seafile-data
|
|
||||||
environment:
|
|
||||||
- DB_HOST=seafile-mysql
|
|
||||||
- INIT_SEAFILE_MYSQL_ROOT_PASSWORD=${SEAFILE_MYSQL_DB_PASSWORD}
|
|
||||||
- TIME_ZONE=Europe/Amsterdam
|
|
||||||
# - SEAFILE_SERVER_HOSTNAME=rik.veenboer.xyz
|
|
||||||
depends_on:
|
|
||||||
- seafile-mysql
|
|
||||||
- seafile-memcached
|
|
||||||
env_file:
|
|
||||||
- /opt/seafile-new/.env
|
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
daemon = True
|
|
||||||
workers = 5
|
|
||||||
|
|
||||||
# default localhost:8000
|
|
||||||
bind = "127.0.0.1:8000"
|
|
||||||
|
|
||||||
# Pid
|
|
||||||
pids_dir = '/opt/seafile/pids'
|
|
||||||
pidfile = os.path.join(pids_dir, 'seahub.pid')
|
|
||||||
|
|
||||||
# for file upload, we need a longer timeout value (default is only 30s, too short)
|
|
||||||
timeout = 1200
|
|
||||||
|
|
||||||
limit_request_line = 8190
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
|
|
||||||
[WEBDAV]
|
|
||||||
enabled = false
|
|
||||||
port = 8080
|
|
||||||
share_name = /seafdav
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
[fileserver]
|
|
||||||
port = 8082
|
|
||||||
|
|
||||||
[database]
|
|
||||||
type = mysql
|
|
||||||
host = seafile-mysql
|
|
||||||
port = 3306
|
|
||||||
user = seafile
|
|
||||||
password = f89cda4d-459b-4c9f-b97a-43cb5797767f
|
|
||||||
db_name = seafile_db
|
|
||||||
connection_charset = utf8
|
|
||||||
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
SECRET_KEY = "^$t0mf*r^#(+*c4bl2e^ftk(f06k7yaov@j^2-c^p2m)%_(axh"
|
|
||||||
SERVICE_URL = "http://seafile.example.com"
|
|
||||||
|
|
||||||
DATABASES = {
|
|
||||||
'default': {
|
|
||||||
'ENGINE': 'django.db.backends.mysql',
|
|
||||||
'NAME': 'seahub_db',
|
|
||||||
'USER': 'seafile',
|
|
||||||
'PASSWORD': 'f89cda4d-459b-4c9f-b97a-43cb5797767f',
|
|
||||||
'HOST': 'seafile-mysql',
|
|
||||||
'PORT': '3306',
|
|
||||||
'OPTIONS': {'charset': 'utf8mb4'},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
CACHES = {
|
|
||||||
'default': {
|
|
||||||
'BACKEND': 'django_pylibmc.memcached.PyLibMCCache',
|
|
||||||
'LOCATION': 'memcached:11211',
|
|
||||||
},
|
|
||||||
'locmem': {
|
|
||||||
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
COMPRESS_CACHE_BACKEND = 'locmem'
|
|
||||||
|
|
||||||
TIME_ZONE = 'Europe/Amsterdam'
|
|
||||||
FILE_SERVER_ROOT = 'http://seafile.example.com/seafhttp'
|
|
||||||
Reference in New Issue
Block a user