8000 fix: gotrue config persistence for AIO by pcnc · Pull Request #961 · supabase/postgres · GitHub
[go: up one dir, main page]

Skip to content

fix: gotrue config persistence for AIO #961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: increase sleep to 5s
  • Loading branch information
pcnc committed May 1, 2024
commit c256c5ceaf89edfc4307dd736e6ee3ab8f7adcf8
6 changes: 3 additions & 3 deletions docker/all-in-one/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,19 @@ function enable_lsn_checkpoint_push {
}

function disable_fail2ban {
sed -i "s/command=.*/command=sleep 1/" /etc/supervisor/services/fail2ban.conf
sed -i "s/command=.*/command=sleep 5/" /etc/supervisor/services/fail2ban.conf
sed -i "s/autostart=.*/autostart=false/" /etc/supervisor/services/fail2ban.conf
sed -i "s/autorestart=.*/autorestart=false/" /etc/supervisor/services/fail2ban.conf
}

function disable_gotrue {
sed -i "s/command=.*/command=sleep 1/" /etc/supervisor/services/gotrue.conf
sed -i "s/command=.*/command=sleep 5/" /etc/supervisor/services/gotrue.conf
sed -i "s/autostart=.*/autostart=false/" /etc/supervisor/services/gotrue.conf
sed -i "s/autorestart=.*/autorestart=false/" /etc/supervisor/services/gotrue.conf
}

function disable_pgbouncer {
sed -i "s/command=.*/command=sleep 1/" /etc/supervisor/services/pgbouncer.conf
sed -i "s/command=.*/command=sleep 5/" /etc/supervisor/services/pgbouncer.conf
sed -i "s/autostart=.*/autostart=false/" /etc/supervisor/services/pgbouncer.conf
sed -i "s/autorestart=.*/autorestart=false/" /etc/supervisor/services/pgbouncer.conf
}
Expand Down
0