19 lines
844 B
Bash
19 lines
844 B
Bash
#!/usr/bin/env bash
|
|
|
|
pod_name='podman-seafile'
|
|
service_name="pod-${pod_name}.service"
|
|
mariadb_release='10.3'
|
|
memcached_release='1.6'
|
|
seafile_image='localhost/seafileltd/seafile-mc'
|
|
seafile_release='8.0.8'
|
|
dbvolume='podman-seafile_seafile-db'
|
|
datavolume='podman-seafile_seafile-data'
|
|
listen_if="${GARBAYE_SEAFILE_ENV_LISTENIF:-127.0.0.1}"
|
|
listen_port="${GARBAYE_SEAFILE_ENV_LISTENPORT:-8082}"
|
|
get_default_iface_ipv4 GARBAYE_SEAFILE_SMTP_SERVER
|
|
GARBAYE_SEAFILE_SERVER_HOSTNAME="${GARBAYE_SEAFILE_ENV_SERVER_HOSTNAME:-seafile.garbaye.fr}"
|
|
GARBAYE_SEAFILE_ADMIN_PASSWORD="${GARBAYE_SEAFILE_ENV_ADMIN_PASSWORD:-asecret}"
|
|
GARBAYE_SEAFILE_ADMIN_EMAIL="${GARBAYE_SEAFILE_ENV_ADMIN_EMAIL:-laposte-seafile@garbaye.fr}"
|
|
envvars='GARBAYE_SEAFILE_MYSQL_ROOT_PASSWORD'
|
|
upstream_images="${seafile_image} docker.io/library/mariadb docker.io/library/memcached"
|