-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.base.yml
More file actions
31 lines (28 loc) · 772 Bytes
/
Copy pathcompose.base.yml
File metadata and controls
31 lines (28 loc) · 772 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
# Base Docker Compose configuration
# This file contains common services shared between standalone and separated deployments
# Do not use this file directly - use compose.standalone.yml or compose.separated.yml instead
services:
postgres:
image: postgres:18-alpine
container_name: maestro-postgres
environment:
POSTGRES_DB: maestro
POSTGRES_USER: maestro
POSTGRES_PASSWORD: maestro
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U maestro -d maestro"]
interval: 10s
timeout: 5s
retries: 5
networks:
- maestro-network
volumes:
postgres-data:
driver: local
networks:
maestro-network:
driver: bridge