-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (42 loc) · 873 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (42 loc) · 873 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
40
41
42
43
version: "1.0"
services:
web:
build: .
network_mode: host
depends_on:
- db
- redis
ports:
- "18000:18000"
volumes:
- ./logs:/logs
env_file: .env
environment:
- PYTHONUNBUFFERED=1
redis:
image: redis:latest
network_mode: host
ports:
- "6379:6379"
env_file: .env
db:
image: postgres:latest
network_mode: host
ports:
- "5432:5432"
volumes:
- ./db/init:/docker-entrypoint-initdb.d
- ./db/data:/var/lib/postgresql
env_file: .env
prometheus:
image: prom/prometheus
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
container_name: prometheus
pushgateway:
image: prom/pushgateway
ports:
- "9091:9091"
container_name: pushgateway