-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
71 lines (68 loc) · 1.56 KB
/
docker-compose.yml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '3'
services:
postgres:
container_name: app-postgres
image: arm64v8/postgres:15.1
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- "5433:5432"
volumes:
- /etc/localtime:/etc/localtime:ro
- ./local/pg:/var/lib/postgresql/data
prometheus:
image: prom/prometheus
container_name: prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- "9090:9090"
restart: unless-stopped
volumes:
- ./prometheus:/etc/prometheus
- ./local/prometheus:/prometheus
grafana:
image: grafana/grafana
container_name: grafana
ports:
- "3000:3000"
restart: unless-stopped
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
volumes:
- ./grafana:/etc/grafana/provisioning/datasources
pushgateway:
image: prom/pushgateway
container_name: pushgateway
ports:
- "9091:9091"
restart: unless-stopped
# api-server:
# build:
# context: .
# dockerfile: ./api-server/Dockerfile
# ports:
# - "8081:8081"
# environment:
# - GO_ENV=development
#
# worker-due-job-checker:
# build:
# context: .
# dockerfile: ./worker-due-job-checker/Dockerfile
# environment:
# - GO_ENV=development
# depends_on:
# - pushgateway
#
# worker-job-fixer:
# build:
# context: .
# dockerfile: ./worker-job-fixer/Dockerfile
# environment:
# - GO_ENV=development
# depends_on:
# - pushgateway