Skip to content
Snippets Groups Projects
Commit 821e9372 authored by Mario Wenzel's avatar Mario Wenzel
Browse files

revoke public access to postgres db

parent 953948bd
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
set -e
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL
ALTER SYSTEM SET statement_timeout = 10000;
REVOKE connect ON DATABASE postgres FROM PUBLIC;
EOSQL
from adminer:4.7.3
from adminer:4.7.6
USER root:root
COPY account-nolock-plugin.php /var/www/html/plugins/
USER adminer:adminer
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment