fix docker

This commit is contained in:
David Young
2026-04-13 15:12:52 -06:00
parent 8019e939d4
commit 252b2a3e3d

View File

@@ -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