We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbd9b81 commit 1767107Copy full SHA for 1767107
Dockerfile
@@ -1,5 +1,6 @@
1
FROM postgres:16.6
2
3
+ENV DATABASE_NAME=test
4
COPY create-db.sh /docker-entrypoint-initdb.d/create-db.sh
5
RUN chmod +x /docker-entrypoint-initdb.d/create-db.sh
6
README.md
@@ -1 +1,25 @@
-### postgres image
+### postgres image
+
+### Start (custom)
+```
+podman run -d \
7
+ --name postgres16.6 \
8
+ -e POSTGRES_USER=myuser \
9
+ -e POSTGRES_PASSWORD=mypassword \
10
+ -e POSTGRES_DB=mydatabase \
11
+ -p 5432:5432 \
12
+ postgres:16.6
13
14
15
+### Start (powershell)
16
17
18
+podman run `
19
+ --name postgres `
20
+ -e POSTGRES_USER=postgres `
21
+ -e POSTGRES_PASSWORD=mypassword `
22
+ -e POSTGRES_DB=mydatabase `
23
+ -p 5432:5432 `
24
+ test:latest
25
0 commit comments