Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FIX (dockerfile): Fix database creation SQL script

Rostislav Dugin2009eabb1456
diff --git a/Dockerfile b/Dockerfile
index f2a1be01..3377f800 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -168,8 +168,8 @@ gosu postgres \$PG_BIN/psql -p 5437 -h localhost -d postgres << 'SQL'
ALTER USER postgres WITH PASSWORD 'Q1234567';
SELECT 'CREATE DATABASE postgresus OWNER postgres'
WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'postgresus')
-\gexec
-\q
+\\gexec
+\\q
SQL
# Start the main application