Skip to content

Commit 5725412

Browse files
authored
chore: update docker aio entrypoint to handle GOTRUE_DISABLED (#803)
1 parent d090a1d commit 5725412

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.0.134-rc-1"
1+
postgres-version = "15.1.0.134"

docker/all-in-one/entrypoint.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,11 @@ if [ "${FAIL2BAN_DISABLED:-}" == "true" ]; then
246246
sed -i "s/autorestart=.*/autorestart=false/" /etc/supervisor/services/fail2ban.conf
247247
fi
248248

249+
if [ "${GOTRUE_DISABLED:-}" == "true" ]; then
250+
sed -i "s/autostart=.*/autostart=false/" /etc/supervisor/services/gotrue.conf
251+
sed -i "s/autorestart=.*/autorestart=false/" /etc/supervisor/services/gotrue.conf
252+
fi
253+
249254
if [ "${PLATFORM_DEPLOYMENT:-}" == "true" ]; then
250255
enable_swap
251256
create_lsn_checkpoint_file

0 commit comments

Comments
 (0)