fixupdate

This commit is contained in:
Rodolfo Berrios
2024-02-06 13:07:48 -03:00
parent d0e28ccb10
commit 309e7a4c2a
6 changed files with 10 additions and 22 deletions

View File

@@ -10,21 +10,11 @@ services:
- database:/var/lib/mysql
restart: always
healthcheck:
test:
[
"CMD",
"healthcheck.sh",
"--su-mysql",
"--connect",
"--innodb_initialized",
]
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
interval: 10s
timeout: 5s
retries: 3
environment:
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: true
MARIADB_MYSQL_LOCALHOST_USER: 1
MARIADB_MYSQL_LOCALHOST_GRANTS: USAGE
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: chevereto
MYSQL_USER: chevereto

View File

@@ -12,14 +12,7 @@ services:
- ${DB_PORT}:3306
restart: always
healthcheck:
test:
[
"CMD",
"healthcheck.sh",
"--su-mysql",
"--connect",
"--innodb_initialized",
]
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
interval: 10s
timeout: 5s
retries: 3

View File

@@ -10,7 +10,7 @@ services:
- database:/var/lib/mysql
restart: always
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
interval: 10s
timeout: 5s
retries: 3

View File

@@ -77,7 +77,7 @@ services:
- database:/var/lib/mysql
restart: always
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
interval: 10s
timeout: 5s
retries: 3

4
namespace/dev Normal file
View File

@@ -0,0 +1,4 @@
TARGET=dev
PROTOCOL=http
HTTP_PORT=9980
HTTPS_PORT=9943

View File

@@ -27,7 +27,8 @@ for file in "$NAMESPACE_DIRECTORY"*; do
make exec NAMESPACE=$NAMESPACE COMMAND="app/bin/legacy -C update"
echo "✔ Updated ${NAMESPACE}"
echo ""
done
echo ""
echo "All websites updated!"
echo "🚀 All websites updated!"