add seatable
This commit is contained in:
parent
ec63d3eb65
commit
90b1c6157f
|
@ -26,6 +26,7 @@ frontend http
|
|||
redirect scheme https code 301 if { hdr(host) -i wallabag.2li.ch } !{ ssl_fc }
|
||||
redirect scheme https code 301 if { hdr(host) -i webmail.2li.ch } !{ ssl_fc }
|
||||
redirect scheme https code 301 if { hdr(host) -i rss-bridge.2li.ch } !{ ssl_fc }
|
||||
redirect scheme https code 301 if { hdr(host) -i seatable.2li.ch } !{ ssl_fc }
|
||||
redirect scheme https code 301 if { hdr(host) -i www.2li.ch } !{ ssl_fc }
|
||||
redirect scheme https code 301 if { hdr_dom(host) -i 2li.ch } !{ ssl_fc }
|
||||
|
||||
|
@ -51,6 +52,7 @@ frontend https
|
|||
use_backend wallabag_server if { req_ssl_sni -i wallabag.2li.ch }
|
||||
use_backend webmail_server if { req_ssl_sni -i webmail.2li.ch }
|
||||
use_backend rss-bridge_server if { req_ssl_sni -i rss-bridge.2li.ch }
|
||||
use_backend seatable_server if { req_ssl_sni -i seatable.2li.ch }
|
||||
use_backend grav_server if { req_ssl_sni -i www.2li.ch }
|
||||
use_backend grav_server if { req_ssl_sni -i 2li.ch }
|
||||
|
||||
|
@ -84,3 +86,6 @@ backend rss-bridge_server
|
|||
backend fw-nextcloud_server
|
||||
mode tcp
|
||||
server server1 10.7.89.114:443 check
|
||||
backend seatable_server
|
||||
mode tcp
|
||||
server server1 10.7.89.105:443 check
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
MYSQL_ROOT_PASSWORD=password
|
|
@ -0,0 +1,37 @@
|
|||
version: "3.0"
|
||||
services:
|
||||
db:
|
||||
image: mariadb:10.5
|
||||
container_name: seatable-mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD
|
||||
- MYSQL_LOG_CONSOLE=true
|
||||
volumes:
|
||||
- ./db_data:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store.
|
||||
|
||||
memcached:
|
||||
image: memcached:1.5.6
|
||||
container_name: seatable-memcached
|
||||
entrypoint: memcached -m 256
|
||||
|
||||
redis:
|
||||
image: redis:5.0.7
|
||||
container_name: seatable-redis
|
||||
|
||||
seatable:
|
||||
image: seatable/seatable:latest
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443" # If https is enabled, cancel the comment.
|
||||
volumes:
|
||||
- ./seatable-data:/shared # Requested, specifies the path to Seafile data persistent store.
|
||||
environment:
|
||||
- DB_HOST=db
|
||||
- DB_ROOT_PASSWD=${MYSQL_ROOT_PASSWORD} # Requested, the value should be root's password of MySQL service.
|
||||
- SEATABLE_SERVER_LETSENCRYPT=True # Default is False. Whether to use let's encrypt certificate.
|
||||
- SEATABLE_SERVER_HOSTNAME=seatable.2li.ch # Specifies your host name.
|
||||
- TIME_ZONE=Europe/Zurich # Optional, default is UTC. Should be uncomment and set to your local time zone.
|
||||
depends_on:
|
||||
- db
|
||||
- memcached
|
||||
- redis
|
Reference in New Issue