review test database and fix config restserver

This commit is contained in:
Shuhrat Tultaganov committed 2023-01-03 19:27:10 +03:00
1 parent d379223517
commit f5a652c13b
10 files changed
+17 -8

No files matched your search

+3 -1
View File
@@ -1,3 +1,5 @@
FROM postgres
ADD ./docker-compose_test_db_init.sql /docker-entrypoint-initdb.d/
ADD docker-compose_test_db_init.sql /docker-entrypoint-initdb.d/docker-compose_test_db_init.sql
RUN chown -R postgres /docker-entrypoint-initdb.d/docker-compose_test_db_init.sql
# ENTRYPOINT ["docker-entrypoint.sh"]
@@ -1,2 +1,2 @@
CREATE User test with password 'test' createdb;
CREATE DATABASE test with owner = test ENCODING = 'UTF8' LC_COLLATE = 'en_US.utf8' LC_CTYPE = 'en_US.utf8' TABLESPACE = pg_default CONNECTION LIMIT = -1;
CREATE USER test11 WITH PASSWORD 'test' CREATEDB;
CREATE DATABASE test11 with owner = test11 ENCODING = 'UTF8' LC_COLLATE = 'en_US.utf8' LC_CTYPE = 'en_US.utf8' TABLESPACE = pg_default CONNECTION LIMIT = -1;