Skip to content

Commit e0a8c32

Browse files
authored
Update README.md
1 parent fc52fbd commit e0a8c32

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
11
### postgres image
22

3-
4-
### Start default
5-
3+
### Start custom (Linux/mac os)
64
```
75
podman run \
8-
--name postgres \
6+
--name my_postgres \
7+
-e POSTGRES_USER=admin \
8+
-e POSTGRES_PASSWORD=secret \
9+
-e POSTGRES_DB=mydb \
910
-p 5671:5432 \
1011
ghcr.io/multi-repo/postgres/pg:main
1112
```
12-
` postgres://admin:secret@localhost:5671/mydb `
1313

14-
### Start custom (Linux/mac os)
14+
```
15+
postgres://admin:secret@localhost:5671/mydb
16+
```
17+
18+
19+
### Start default
20+
1521
```
1622
podman run \
17-
--name my_postgres \
18-
-e POSTGRES_USER=admin \
19-
-e POSTGRES_PASSWORD=secret \
20-
-e POSTGRES_DB=mydb \
23+
--name postgres \
2124
-p 5671:5432 \
2225
ghcr.io/multi-repo/postgres/pg:main
2326
```
27+
` postgres://admin:secret@localhost:5671/mydb `
28+
29+
2430

2531
### Start (powershell)
2632

0 commit comments

Comments
 (0)