2022-01-16 21:19:26 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
pod_name='podman-seafile'
|
|
|
|
service_name="pod-${pod_name}.service"
|
2022-05-13 16:42:12 +00:00
|
|
|
mariadb_release='10.5'
|
2022-02-25 12:30:57 +00:00
|
|
|
memcached_release='1.6'
|
2022-03-05 19:41:45 +00:00
|
|
|
seafile_image='localhost/seafileltd/seafile-mc'
|
2022-06-20 09:10:04 +00:00
|
|
|
seafile_release='9.0.6'
|
2022-01-17 21:15:42 +00:00
|
|
|
dbvolume='podman-seafile_seafile-db'
|
|
|
|
datavolume='podman-seafile_seafile-data'
|
2022-02-11 13:47:30 +00:00
|
|
|
listen_if="${GARBAYE_SEAFILE_ENV_LISTENIF:-127.0.0.1}"
|
|
|
|
listen_port="${GARBAYE_SEAFILE_ENV_LISTENPORT:-8082}"
|
2022-01-17 21:15:42 +00:00
|
|
|
get_default_iface_ipv4 GARBAYE_SEAFILE_SMTP_SERVER
|
2022-01-18 19:36:29 +00:00
|
|
|
GARBAYE_SEAFILE_SERVER_HOSTNAME="${GARBAYE_SEAFILE_ENV_SERVER_HOSTNAME:-seafile.garbaye.fr}"
|
2022-01-18 20:44:29 +00:00
|
|
|
GARBAYE_SEAFILE_ADMIN_PASSWORD="${GARBAYE_SEAFILE_ENV_ADMIN_PASSWORD:-asecret}"
|
2022-01-17 21:15:42 +00:00
|
|
|
GARBAYE_SEAFILE_ADMIN_EMAIL="${GARBAYE_SEAFILE_ENV_ADMIN_EMAIL:-laposte-seafile@garbaye.fr}"
|
|
|
|
envvars='GARBAYE_SEAFILE_MYSQL_ROOT_PASSWORD'
|
2022-03-05 19:41:45 +00:00
|
|
|
upstream_images="${seafile_image} docker.io/library/mariadb docker.io/library/memcached"
|