Skip to content

Commit 0aa714a

Browse files
committed
chore: add pg14 to docker-compose
1 parent 7d9a1ae commit 0aa714a

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

docker-compose.yaml

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
version: "3"
2+
23
services:
3-
mongodb:
4-
image: mongo
5-
container_name: mongodb
4+
pg14:
5+
image: "postgres:14-alpine"
6+
environment:
7+
POSTGRES_HOST_AUTH_METHOD: trust
68
ports:
7-
- 27017:27017
9+
- "5432:5432"
810
volumes:
9-
- dbdata:/data/db
11+
- pgdata:/var/lib/postgresql/data
1012
environment:
1113
- PUID=1000
1214
- PGID=1000
1315
restart: unless-stopped
16+
container_name: pg14
17+
1418
volumes:
15-
dbdata:
19+
pgdata:

0 commit comments

Comments
 (0)