Skip to content

Commit adbd2f0

Browse files
authored
Create docker-compose.yaml
1 parent 98a10d1 commit adbd2f0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

13/bullseye/docker-compose.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: '3'
2+
services:
3+
postgresql:
4+
image: postgres:<tag>
5+
ports:
6+
- '5432:5432'
7+
volumes:
8+
- ./data/postgresql/data:/var/lib/postgresql/data
9+
command:
10+
[
11+
"postgres",
12+
"-cshared_preload_libraries=pglogical,pg_stat_statements",
13+
"-cwal_level=logical"
14+
]
15+
environment:
16+
- POSTGRES_USER=<username>
17+
- POSTGRES_PASSWORD=<pass>
18+
- POSTGRES_DB=<db>

0 commit comments

Comments
 (0)