Настройки развертывания
This commit is contained in:
7
docker/postgres-init/00-example-extra-user.sql.example
Normal file
7
docker/postgres-init/00-example-extra-user.sql.example
Normal file
@@ -0,0 +1,7 @@
|
||||
-- Example: create an extra DB user (e.g. read-only). Not executed — rename to 00-create-extra-user.sql to enable.
|
||||
-- Scripts in this folder run in alphabetical order; 00-* runs before 01-schema.sql.
|
||||
|
||||
-- CREATE USER rag_readonly WITH PASSWORD 'change_me';
|
||||
-- GRANT CONNECT ON DATABASE rag TO rag_readonly;
|
||||
-- GRANT USAGE ON SCHEMA public TO rag_readonly;
|
||||
-- GRANT SELECT ON ALL TABLES IN SCHEMA public TO rag_readonly;
|
||||
Reference in New Issue
Block a user