Fix IronClaw DATABASE_URL: add ?sslmode=disable for local PostgreSQL
This commit is contained in:
@@ -35,7 +35,7 @@ msg_info "Configuring IronClaw"
|
|||||||
mkdir -p /root/.ironclaw
|
mkdir -p /root/.ironclaw
|
||||||
GATEWAY_TOKEN=$(openssl rand -hex 32)
|
GATEWAY_TOKEN=$(openssl rand -hex 32)
|
||||||
cat <<EOF >/root/.ironclaw/.env
|
cat <<EOF >/root/.ironclaw/.env
|
||||||
DATABASE_URL=postgresql://ironclaw:${PG_PASS}@localhost:5432/ironclaw
|
DATABASE_URL=postgresql://ironclaw:${PG_PASS}@localhost:5432/ironclaw?sslmode=disable
|
||||||
GATEWAY_ENABLED=true
|
GATEWAY_ENABLED=true
|
||||||
GATEWAY_HOST=0.0.0.0
|
GATEWAY_HOST=0.0.0.0
|
||||||
GATEWAY_PORT=3000
|
GATEWAY_PORT=3000
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ msg_info "Configuring IronClaw"
|
|||||||
mkdir -p /root/.ironclaw
|
mkdir -p /root/.ironclaw
|
||||||
GATEWAY_TOKEN=$(openssl rand -hex 32)
|
GATEWAY_TOKEN=$(openssl rand -hex 32)
|
||||||
cat <<EOF >/root/.ironclaw/.env
|
cat <<EOF >/root/.ironclaw/.env
|
||||||
DATABASE_URL=postgresql://${PG_DB_USER}:${PG_DB_PASS}@localhost:5432/${PG_DB_NAME}
|
DATABASE_URL=postgresql://${PG_DB_USER}:${PG_DB_PASS}@localhost:5432/${PG_DB_NAME}?sslmode=disable
|
||||||
GATEWAY_ENABLED=true
|
GATEWAY_ENABLED=true
|
||||||
GATEWAY_HOST=0.0.0.0
|
GATEWAY_HOST=0.0.0.0
|
||||||
GATEWAY_PORT=3000
|
GATEWAY_PORT=3000
|
||||||
|
|||||||
Reference in New Issue
Block a user