-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
41 lines (40 loc) · 924 Bytes
/
docker-compose.yaml
File metadata and controls
41 lines (40 loc) · 924 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
services:
db:
image: postgres:16.4-bookworm
restart: unless-stopped
healthcheck:
test: pg_isready -U postgres -d postgres # Username and database name
interval: 3s
start_interval: 3s
start_period: 0s
timeout: 10s
retries: 5
networks:
- daemon
volumes:
- ./volumes/db:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
daemon:
build:
context: .
env_file:
- .env
- path: .env.docker # If there is an additional env file to use for Docker
required: false
volumes:
- ./data:/daemon/data
restart: unless-stopped
ports:
# TODO: Expose the ports for the HTTP Pipes
- 29167:29167
depends_on:
db:
condition: service_healthy
networks:
- daemon
networks:
daemon:
driver: bridge