-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathdocker-compose.yml
executable file
·59 lines (56 loc) · 1.46 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
version: "3"
services:
docusaurus:
build:
dockerfile: build/Dockerfile.docs
context: .
ports:
- 8000:3000
- 35729:35729
volumes:
- ./docs:/app/docs
- ./website/blog:/app/website/blog
- ./website/core:/app/website/core
- ./website/i18n:/app/website/i18n
- ./website/pages:/app/website/pages
- ./website/static:/app/website/static
- ./website/sidebars.json:/app/website/sidebars.json
- ./website/siteConfig.js:/app/website/siteConfig.js
networks:
- app-network
working_dir: /app/website
darkroom:
build:
dockerfile: build/Dockerfile
context: .
ports:
- 3000:3000
environment:
- SOURCE_KIND=webfolder
- SOURCE_BASEURL=https://raw.githubusercontent.com/gojek/darkroom/master/website/static/img
- METRICS_SYSTEM=prometheus
networks:
- app-network
prometheus:
image: quay.io/prometheus/prometheus:latest
ports:
- 9090:9090
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
networks:
- app-network
grafana:
image: grafana/grafana
ports:
- 8080:3000
environment:
- GF_SECURITY_ADMIN_USER=${ADMIN_USER:-admin}
- GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD:-changeme}
- GF_USERS_ALLOW_SIGN_UP=false
volumes:
- ./deployments/grafana/provisioning:/etc/grafana/provisioning
networks:
- app-network
networks:
app-network:
driver: bridge