mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-11-02 10:36:55 +00:00
Configuring Postgres for application and test
This commit is contained in:
1 parent
55641f1fdd
commit
2bc64f690a
10 files changed
+140
-4
No files matched your search
@@ -0,0 +1,3 @@
|
||||
*
|
||||
|
||||
!docker-entrypoint-initdb.d
|
||||
@@ -0,0 +1,8 @@
|
||||
FROM postgres:11.4-alpine
|
||||
|
||||
COPY . .
|
||||
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
|
||||
EXPOSE 5432
|
||||
CMD ["postgres"]
|
||||
@@ -0,0 +1,2 @@
|
||||
CREATE DATABASE cbwebreader;
|
||||
CREATE DATABASE cbwebreader_test;
|
||||
Reference in new issue
Block a user