-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml.example
54 lines (48 loc) · 1011 Bytes
/
docker-compose.yml.example
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
version: "3.6"
services:
db:
image: mariadb
volumes:
- mariadb-varlibmysql:/var/lib/mysql
environment:
MYSQL_DATABASE: example_database
MYSQL_ROOT_PASSWORD: example_password
firod:
restart: unless-stopped
image: firoorg/firod
entrypoint: /bin/firod -printtoconsole -conf=/cfg/firo.conf
volumes:
- firod-chain:/home/firod/
- ./cfg/firod:/cfg
firomon-web:
build:
context: .
dockerfile: ./firomon-web/Dockerfile
volumes:
- ./cfg/firomonitor:/config
depends_on:
- firod
- db
firomon-scraper:
tty: true
restart: unless-stopped
build:
context: .
dockerfile: ./firomon-scraper/Dockerfile
volumes:
- ./cfg/firomonitor:/config
depends_on:
- firod
- db
nginx:
image: nginx
ports:
- 80:80
- 443:443
volumes:
- ./cfg/nginx:/etc/nginx/conf.d
depends_on:
- firomon-web
volumes:
mariadb-varlibmysql:
firod-chain: