-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (47 loc) · 1.18 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
version: '3.7'
services:
smokeping-backend:
build:
context: './smokeping-backend'
args:
smokeping_ver: ${SMOKEPING_VER}
image: 'smokeping-backend'
networks:
- 'smokeping'
volumes:
- './config/smokeping.config:/opt/smokeping/etc/smokeping.config'
- './data:/app'
restart: 'always'
smokeping-fcgi:
build:
context: './smokeping-fcgi'
args:
smokeping_ver: ${SMOKEPING_VER}
image: 'smokeping-fcgi'
networks:
- 'smokeping'
volumes:
- './config/smokeping.config:/opt/smokeping/etc/smokeping.config'
- './config/smokeping.fcgi:/opt/smokeping/htdocs/smokeping.fcgi'
- './data:/app'
restart: 'always'
smokeping-frontend:
build:
context: './smokeping-frontend'
args:
smokeping_ver: ${SMOKEPING_VER}
image: 'smokeping-frontend'
networks:
- 'smokeping'
ports:
- 80:80
volumes:
- './config/nginx.default.conf:/etc/nginx/conf.d/default.conf'
- './config/htpasswd.users:/etc/nginx/htpasswd.users'
- './data:/app'
restart: 'always'
depends_on:
- 'smokeping-fcgi'
networks:
smokeping:
driver: 'bridge'