-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (33 loc) · 924 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (33 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
version: '3.8'
services:
postgres:
image: postgres:15-alpine
container_name: sentinel-postgres
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: secretpassword
POSTGRES_DB: sentinel
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
restart: unless-stopped
redis:
image: redis:7-alpine
container_name: sentinel-redis
ports:
- "6379:6379"
restart: unless-stopped
rabbitmq:
# The 'management' tag provides a web UI to visually monitor our async queues
image: rabbitmq:3-management-alpine
container_name: sentinel-rabbitmq
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
ports:
- "5672:5672" # AMQP protocol port (for Go to publish messages)
- "15672:15672" # Management UI port (Browser access)
restart: unless-stopped
volumes:
postgres-data: