-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (39 loc) · 928 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (39 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3.8'
services:
driftdb:
build: .
image: driftdb:latest
container_name: driftdb-server
ports:
- "5433:5433"
volumes:
- driftdb-data:/var/lib/driftdb
environment:
- DRIFTDB_DATA_PATH=/var/lib/driftdb
- DRIFTDB_LISTEN=0.0.0.0:5433
- DRIFTDB_MAX_CONNECTIONS=100
- DRIFTDB_TEMPORAL=true
restart: unless-stopped
networks:
- driftdb-net
# Optional: PostgreSQL client for testing
pgadmin:
image: dpage/pgadmin4:latest
container_name: driftdb-pgadmin
environment:
- PGADMIN_DEFAULT_EMAIL=admin@driftdb.local
- PGADMIN_DEFAULT_PASSWORD=driftdb
- PGADMIN_CONFIG_SERVER_MODE=False
- PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED=False
ports:
- "8080:80"
networks:
- driftdb-net
depends_on:
- driftdb
volumes:
driftdb-data:
driver: local
networks:
driftdb-net:
driver: bridge