-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
74 lines (74 loc) · 1.67 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
72
73
74
version: "3.7"
services:
app:
build:
context: .
working_dir: /app
volumes:
- .:/app
- lein-deps:/root/.m2
command: lein repl :headless :start :host 0.0.0.0 :port 33333
ports:
- 9010:9010
environment:
- PORT=5432
- METRICS_PORT=2345
- SERVER_THREADS=16
- IPFS_API=/ip4/ipfs/tcp/5001
- REGISTRY_URL=http://npm.open-registry.test:2015
- SERVER_DEV=true
- UPDATE_ON_BOOT=false
restart: always
metrics:
image: prom/prometheus:v2.9.1
volumes:
- prometheus:/prometheus
- ./infra/prometheus.yml:/prometheus.yml
command: --config.file=/prometheus.yml --storage.tsdb.path=/prometheus
restart: always
ipfs:
build:
context: ./infra/go-ipfs
environment:
- IPFS_PROFILE=server,badgerds
volumes:
- ipfs:/data/ipfs
ports:
- 4001:4001
command: daemon --offline
restart: always
front:
build:
context: ./infra/caddy
ports:
- 2015:2015
- 9180:9180
volumes:
- ./infra/caddy/Caddyfile:/etc/Caddyfile
- caddy:/root/.caddy
restart: always
dashboard:
image: grafana/grafana:6.1.4
environment:
- GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-piechart-panel
ports:
- 3000:3000
volumes:
- ./infra/grafana/config.ini:/etc/grafana/grafana.ini
- grafana:/var/lib/grafana
- ./infra/grafana/:/etc/grafana/provisioning
restart: always
finance:
image: openregistry/finance-watch:0.1.1
environment:
- ADDRESS=0.0.0.0
- PORT=6000
ports:
- 6000:6000
restart: always
volumes:
prometheus:
lein-deps:
caddy:
grafana:
ipfs: