Seafile : suppression variables propres à la qualif et/ou mauvais defaults (Garbaye)

This commit is contained in:
Gitouche 2023-02-10 16:04:40 +01:00
parent 6050423685
commit 63452dee54
2 changed files with 2 additions and 4 deletions

View file

@ -11,7 +11,7 @@ seafile:
script: script:
- cd podman-seafile - cd podman-seafile
- ./ci_build-images.sh - ./ci_build-images.sh
- GARBAYE_SEAFILE_MYSQL_ROOT_PASSWORD=ecruebdfklj GARBAYE_SEAFILE_ENV_LISTENPORT=18082 ./05_freshinstall.sh - GARBAYE_SEAFILE_ADMIN_EMAIL=laposte-seafile-ci@garbaye.fr GARBAYE_SEAFILE_SERVER_HOSTNAME=seafile.garbaye.fr GARBAYE_SEAFILE_MYSQL_ROOT_PASSWORD=ecruebdfklj GARBAYE_SEAFILE_ENV_LISTENPORT=18082 ./05_freshinstall.sh
- ./20_enable.sh - ./20_enable.sh
- ./30_start.sh && sleep 10 - ./30_start.sh && sleep 10
- ./40_stop.sh - ./40_stop.sh

View file

@ -7,11 +7,9 @@ seafile_release='9.0.10'
## default vars : override with ENV var ## default vars : override with ENV var
listen_if="${GARBAYE_SEAFILE_ENV_LISTENIF:-127.0.0.1}" listen_if="${GARBAYE_SEAFILE_ENV_LISTENIF:-127.0.0.1}"
listen_port="${GARBAYE_SEAFILE_ENV_LISTENPORT:-8082}" listen_port="${GARBAYE_SEAFILE_ENV_LISTENPORT:-8082}"
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_PASSWORD="${GARBAYE_SEAFILE_ENV_ADMIN_PASSWORD:-asecret}"
GARBAYE_SEAFILE_ADMIN_EMAIL="${GARBAYE_SEAFILE_ENV_ADMIN_EMAIL:-laposte-seafile@garbaye.fr}"
## mandatory ENV vars ## mandatory ENV vars
envvars='GARBAYE_SEAFILE_MYSQL_ROOT_PASSWORD' envvars='GARBAYE_SEAFILE_ADMIN_EMAIL GARBAYE_SEAFILE_SERVER_HOSTNAME GARBAYE_SEAFILE_MYSQL_ROOT_PASSWORD'
## internal vars : do not touch ## internal vars : do not touch
project_name=${PWD##*/} project_name=${PWD##*/}
pod_name="pod_${project_name}" pod_name="pod_${project_name}"