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 7d9a1ae commit 0aa714aCopy full SHA for 0aa714a
docker-compose.yaml
@@ -1,15 +1,19 @@
1
version: "3"
2
+
3
services:
- mongodb:
4
- image: mongo
5
- container_name: mongodb
+ pg14:
+ image: "postgres:14-alpine"
6
+ environment:
7
+ POSTGRES_HOST_AUTH_METHOD: trust
8
ports:
- - 27017:27017
9
+ - "5432:5432"
10
volumes:
- - dbdata:/data/db
11
+ - pgdata:/var/lib/postgresql/data
12
environment:
13
- PUID=1000
14
- PGID=1000
15
restart: unless-stopped
16
+ container_name: pg14
17
18
- dbdata:
19
+ pgdata:
0 commit comments