autocommit
This commit is contained in:
parent
cf65f8d42b
commit
0af9db939f
14
install.sh
14
install.sh
@ -52,7 +52,7 @@ echo "Install postgres..."
|
|||||||
cd /data/utils
|
cd /data/utils
|
||||||
bash global-env.sh POSTGRES_USER admin
|
bash global-env.sh POSTGRES_USER admin
|
||||||
bash global-env.sh POSTGRES_DB postgres
|
bash global-env.sh POSTGRES_DB postgres
|
||||||
bash env-gen.sh POSTGRES_PASSWORD
|
sudo bash env-gen.sh POSTGRES_PASSWORD
|
||||||
cd /data
|
cd /data
|
||||||
git clone git@$GIT_SSH_DOMAIN:$GIT_USER/postgres.git
|
git clone git@$GIT_SSH_DOMAIN:$GIT_USER/postgres.git
|
||||||
cd postgres
|
cd postgres
|
||||||
@ -62,7 +62,7 @@ echo "Install pgadmin..."
|
|||||||
mkdir -p /data/appdata/pgadmin
|
mkdir -p /data/appdata/pgadmin
|
||||||
chown -R 5050:5050 /data/appdata/pgadmin
|
chown -R 5050:5050 /data/appdata/pgadmin
|
||||||
cd /data/utils
|
cd /data/utils
|
||||||
bash env-gen.sh PGADMIN_DEFAULT_PASSWORD
|
sudo bash env-gen.sh PGADMIN_DEFAULT_PASSWORD
|
||||||
cd /data
|
cd /data
|
||||||
git clone git@$GIT_SSH_DOMAIN:$GIT_USER/pgadmin.git
|
git clone git@$GIT_SSH_DOMAIN:$GIT_USER/pgadmin.git
|
||||||
cd pgadmin
|
cd pgadmin
|
||||||
@ -71,7 +71,7 @@ sudo docker compose up -d
|
|||||||
echo "Install gitea..."
|
echo "Install gitea..."
|
||||||
cd /data/utils
|
cd /data/utils
|
||||||
GITEA__database__PASSWD=$(pwgen -s 20 1);
|
GITEA__database__PASSWD=$(pwgen -s 20 1);
|
||||||
bash env-gen.sh GITEA__database__PASSWD $GITEA__database__PASSWD
|
sudo bash env-gen.sh GITEA__database__PASSWD $GITEA__database__PASSWD
|
||||||
sudo bash init-db.sh gitea $GITEA__database__PASSWD
|
sudo bash init-db.sh gitea $GITEA__database__PASSWD
|
||||||
cd /data
|
cd /data
|
||||||
git clone git@$GIT_SSH_DOMAIN:$GIT_USER/gitea.git
|
git clone git@$GIT_SSH_DOMAIN:$GIT_USER/gitea.git
|
||||||
@ -82,11 +82,11 @@ echo "Install mariadb..."
|
|||||||
cd /data/utils
|
cd /data/utils
|
||||||
bash global-env.sh MARIADB_USER admin
|
bash global-env.sh MARIADB_USER admin
|
||||||
bash global-env.sh MARIADB_DB mariadb
|
bash global-env.sh MARIADB_DB mariadb
|
||||||
bash env-gen.sh MARIADB_ROOT_PASSWORD
|
sudo bash env-gen.sh MARIADB_ROOT_PASSWORD
|
||||||
MARIADBPASSWORD=$(pwgen -s 20 1);
|
MARIADBPASSWORD=$(pwgen -s 20 1);
|
||||||
bash env-gen.sh MARIADB_PASSWORD $MARIADBPASSWORD
|
sudo bash env-gen.sh MARIADB_PASSWORD $MARIADBPASSWORD
|
||||||
bash env-gen.sh WORDPRESS_DB_PASSWORD $MARIADBPASSWORD
|
sudo bash env-gen.sh WORDPRESS_DB_PASSWORD $MARIADBPASSWORD
|
||||||
bash env-gen.sh WP_ADMIN_PASSWORD
|
sudo bash env-gen.sh WP_ADMIN_PASSWORD
|
||||||
cd /data
|
cd /data
|
||||||
git clone git@$GIT_SSH_DOMAIN:$GIT_USER/mariadb.git
|
git clone git@$GIT_SSH_DOMAIN:$GIT_USER/mariadb.git
|
||||||
mkdir -p /data/appdata/mariadb
|
mkdir -p /data/appdata/mariadb
|
||||||
|
Loading…
Reference in New Issue
Block a user