-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
34 lines (32 loc) · 773 Bytes
/
compose.yml
File metadata and controls
34 lines (32 loc) · 773 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
version: '3.9'
services:
postgres:
container_name: postgres-users
image: postgres:16
restart: unless-stopped
environment:
POSTGRES_PASSWORD: admin
POSTGRES_USER: admin
POSTGRES_DB: search
ports:
- 5432:5432
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U admin -d search" ]
interval: 10s
timeout: 5s
retries: 5
rabbitmq:
container_name: rabbitmq-search
image: rabbitmq:3-management
restart: unless-stopped
ports:
- 5672:5672
- 15672:15672
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
healthcheck:
test: [ "CMD-SHELL", "rabbitmq-diagnostics -q check_running" ]
interval: 10s
timeout: 5s
retries: 5