-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (35 loc) · 893 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (35 loc) · 893 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
version: '3.8'
services:
db:
image: postgres:13.2
ports:
- "5555:5432"
command: [ "postgres", "-c", "log_statement=all", "-c", "log_destination=stderr" ]
healthcheck:
test: [ "CMD", "pg_isready", "-U", "postgres", "-d", "postgres" ]
interval: 1s
retries: 20
environment:
POSTGRES_DB: "postgres"
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
rabbitmq:
image: rabbitmq:3.13.7-management
ports:
- "5672:5672"
- "15672:15672"
redis:
image: redis:6.2.4
ports:
- "6379:6379"
prometheus:
image: prom/prometheus
container_name: prometheus
network_mode: host
command:
- "--config.file=/etc/prometheus/prometheus_config.yml"
ports:
- "9090:9090"
restart: unless-stopped
volumes:
- /home/fjord/python_learning_bot/prometheus:/etc/prometheus