-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (43 loc) · 1.08 KB
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (43 loc) · 1.08 KB
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
44
45
services:
postgres:
image: postgres:17-alpine
container_name: gbfm_pgdb
restart: unless-stopped
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_INITDB_ARGS: '--auth-host=md5'
volumes:
- ./config/postgresql.conf:/etc/postgresql/postgresql.conf
- ./config/pg_hba.conf:/etc/postgresql/pg_hba.conf
- ./backups:/backups
- ./logs:/var/log/postgresql
ports:
- '5432:5432'
command: >
postgres
-c config_file=/etc/postgresql/postgresql.conf
-c hba_file=/etc/postgresql/pg_hba.conf
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres -d postgres']
interval: 30s
timeout: 10s
retries: 5
networks:
- app_network
jaeger:
image: jaegertracing/all-in-one:latest
container_name: jaeger
restart: unless-stopped
environment:
COLLECTOR_OTLP_ENABLED: 'true'
ports:
- '16686:16686'
- '4317:4317'
- '4318:4318'
networks:
- app_network
networks:
app_network:
driver: bridge