Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: move psqlrc to scripts
d-bytebasedf320966e5fc
diff --git a/Dockerfile b/Dockerfileindex 051f12e5ec..0870e52cc6 100644--- a/Dockerfile+++ b/Dockerfile@@ -80,7 +80,7 @@ ENV OPENSSL_CONF /etc/ssl/# Copy utility scripts, we have# - Demo script to launch Bytebase in readonly demo modeCOPY ./scripts /usr/local/bin/-COPY ./.psqlrc /root/.psqlrc+COPY ./scripts/.psqlrc /root/.psqlrc# Our HEALTHCHECK instruction in dockerfile needs curl.# Install psmisc to use killall command in demo.sh used by render.com.diff --git a/scripts/.psqlrc b/scripts/.psqlrcnew file mode 100644index 0000000000..ccc7b56fac--- /dev/null+++ b/scripts/.psqlrc@@ -0,0 +1,22 @@+\set QUIET 1++\set PROMPT1 '%M:%[%033[1;31m%]%>%[%033[0m%] %n@%/%R%#%x '++\set PROMPT2 '%M %n@%/%R %# '++\pset null '[null]'++\set COMP_KEYWORD_CASE upper++\timing++\set HISTSIZE 2000++\x auto++\set VERBOSITY verbose++\set QUIET 0++\echo 'Welcome to PostgreSQL in Bytebase Docker image! \n'+\echo 'Type \\q to exit. \n'