-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
92 lines (92 loc) · 1.9 KB
/
docker-compose-dev.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
services:
mongodb:
image: mongo:5.0.5
mem_limit: 512m
cpus: 0.25
restart: always
ports:
- "27017:27017"
volumes:
- ./data/db:/data/db
www:
image: xusai2014/www
mem_limit: 256m
ports:
- "3000:80"
links:
- mongodb:localhost
depends_on:
- mongodb
api_service:
image: xusai2014/api-service
mem_limit: 512m
cpus: 0.25
ports:
- "3003:80"
volumes:
- ./data/weixin:/root/weixin
links:
- mongodb:localhost
depends_on:
- mongodb
prometheus:
image: prom/prometheus
ports:
- "3007:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
extra_hosts:
- "host.docker.internal:host-gateway"
node-exporter:
container_name: node-exporter
image: prom/node-exporter
ports:
- '9100'
grafana:
image: grafana/grafana
volumes:
- ./data/grafana_data:/var/lib/grafana
environment:
- GF_SECURITY_ADMIN_PASSWORD=pass
depends_on:
- prometheus
ports:
- '3009:3000'
redis:
image: "redis:6.2.4-alpine"
volumes:
- ./data/sentry-redis:/data
ports:
- "6379"
postgres:
image: "postgres:9.6"
restart: always
ports:
- "5432"
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
POSTGRES_DB: "sentry"
volumes:
- ./data/postgresql_data:/var/lib/postgresql/data
sentry:
image: sentry:latest
mem_limit: 256m
environment:
SENTRY_REDIS_HOST: "redis"
SENTRY_SECRET_KEY: "secret"
SENTRY_POSTGRES_HOST: "postgres"
SENTRY_DB_NAME: "sentry"
SENTRY_FILESTORE_DIR: /var/lib/sentry/files
PGDATA: /var/lib/sentry/data/pgdata
volumes:
- ./data/sentry:/var/lib/sentry
ports:
- 8081:9000
depends_on:
- redis
- postgres
links:
- redis:localhost
- postgres:localhost
volumes:
logvolume01: {}