fix docker
This commit is contained in:
@@ -175,6 +175,11 @@ if [ ! -d "$WAVELOG_DIR" ]; then
|
||||
WAVELOG_DB_PASS=$(openssl rand -base64 32 | tr -d '=/+' | cut -c1-24)
|
||||
sed -i "s|MARIADB_PASSWORD: wavelog # <- Insert a strong password here|MARIADB_PASSWORD: ${WAVELOG_DB_PASS}|" "$WAVELOG_DIR/docker-compose.yaml"
|
||||
|
||||
if ! systemctl is-active --quiet docker; then
|
||||
echo "Starting Docker..."
|
||||
sudo systemctl enable --now docker
|
||||
fi
|
||||
|
||||
docker compose -f "$WAVELOG_DIR/docker-compose.yaml" up -d
|
||||
echo "Wavelog installed. Access it at http://localhost:8086"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user