Seafile : websocket
This commit is contained in:
parent
a49da35e33
commit
9770535d1c
|
@ -34,6 +34,7 @@ export mariadb_release
|
|||
export memcached_release
|
||||
export listen_if
|
||||
export listen_port
|
||||
export listen_ws_port
|
||||
|
||||
if ! podman image exists ${seafile_image}:${seafile_release}; then
|
||||
podman image pull ${seafile_image}:${seafile_release} || exit 1
|
||||
|
|
|
@ -18,6 +18,7 @@ services:
|
|||
container_name: seafile
|
||||
ports:
|
||||
- ${listen_if}:${listen_port}:80
|
||||
- ${listen_if}:${listen_ws_port}:8083
|
||||
volumes:
|
||||
- seafile-data:/shared:Z
|
||||
environment:
|
||||
|
|
|
@ -7,6 +7,7 @@ seafile_release='10.0.1'
|
|||
## default vars : override with ENV var
|
||||
listen_if="${GARBAYE_SEAFILE_ENV_LISTENIF:-127.0.0.1}"
|
||||
listen_port="${GARBAYE_SEAFILE_ENV_LISTENPORT:-8082}"
|
||||
let "listen_ws_port = ${listen_port} + 1"
|
||||
GARBAYE_SEAFILE_ADMIN_PASSWORD="${GARBAYE_SEAFILE_ENV_ADMIN_PASSWORD:-asecret}"
|
||||
## mandatory ENV vars
|
||||
envvars='GARBAYE_SEAFILE_ADMIN_EMAIL GARBAYE_SEAFILE_SERVER_HOSTNAME GARBAYE_SEAFILE_MYSQL_ROOT_PASSWORD'
|
||||
|
|
Loading…
Reference in a new issue