Skip to content

Commit 57de4d4

Browse files
committed
feat: predefined database test creation
1 parent cbd9b81 commit 57de4d4

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM postgres:16.6
22

3+
ENV DATABASE_NAME=test
34
COPY create-db.sh /docker-entrypoint-initdb.d/create-db.sh
45
RUN chmod +x /docker-entrypoint-initdb.d/create-db.sh
56

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
### postgres image
1+
### postgres image
2+
3+
### Start (custom)
4+
5+
```
6+
7+
```
8+
9+
### Start (powershell)
10+
11+
```
12+
13+
```

0 commit comments

Comments
 (0)