Skip to content

Commit 62ef09a

Browse files
emmaling27Convex, Inc.
authored andcommitted
�[self-hosted] Thread through --do-not-require-ssl flag (#34372)
This makes it possible to run the self-hosted backend against locally running Postgres by not requiring SSL GitOrigin-RevId: 51f4adfba6285b92ca60a65159298b4da82c5c00
1 parent a640d67 commit 62ef09a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

self-hosted/docker-build/run_backend.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ exec ./convex-local-backend "$@" \
3737
--beacon-tag "self-hosted-docker" \
3838
${DISABLE_BEACON:+--disable-beacon} \
3939
${REDACT_LOGS_TO_CLIENT:+--redact-logs-to-client} \
40+
${DO_NOT_REQUIRE_SSL:+--do-not-require-ssl} \
4041
"${DB_FLAGS[@]}" \
4142
"$DB_SPEC"

self-hosted/docker/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ services:
1616
- DATABASE_URL=${DATABASE_URL:-}
1717
- DISABLE_BEACON=${DISABLE_BEACON:-}
1818
- REDACT_LOGS_TO_CLIENT=${REDACT_LOGS_TO_CLIENT:-}
19+
- DO_NOT_REQUIRE_SSL=${DO_NOT_REQUIRE_SSL:-}
1920
- RUST_LOG=${RUST_LOG:-info}
2021
- RUST_BACKTRACE=${RUST_BACKTRACE:-}
2122
healthcheck:

0 commit comments

Comments
 (0)