mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-14 17:02:56 +00:00
vanilla pg dokcer image setup
This commit is contained in:
12
proxy/dev/sql/include/neon_control_plane.sql
Normal file
12
proxy/dev/sql/include/neon_control_plane.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
-- docker exec -it proxy-postgres psql -U postgres -c "CREATE SCHEMA IF NOT EXISTS neon_control_plane"
|
||||
-- docker exec -it proxy-postgres psql -U postgres -c "CREATE TABLE neon_control_plane.endpoints (endpoint_id VARCHAR(255) PRIMARY KEY, allowed_ips VARCHAR(255))"
|
||||
-- docker exec -it proxy-postgres psql -U postgres -c "CREATE ROLE proxy WITH SUPERUSER LOGIN PASSWORD 'password';"
|
||||
|
||||
CREATE SCHEMA IF NOT EXISTS neon_control_plane;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS neon_control_plane.endpoints (
|
||||
endpoint_id VARCHAR(255) PRIMARY KEY,
|
||||
allowed_ips VARCHAR(255)
|
||||
);
|
||||
|
||||
-- CREATE ROLE proxy WITH SUPERUSER LOGIN PASSWORD 'password';
|
||||
Reference in New Issue
Block a user