-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (35 loc) · 824 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (35 loc) · 824 Bytes
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
version: '2.1'
volumes:
gareport:
services:
proxy:
image: nginx:1.13-alpine
ports:
- '80:80'
- '443:443'
- '7890:7890'
volumes:
- ./conf/nginx.conf:/etc/nginx/nginx.conf:ro
- ./conf/conf.d:/etc/nginx/conf.d:ro
- ./conf/ssl:/etc/ssl:ro
- ./conf/htpasswd:/etc/nginx/htpasswd:ro
- ./logs:/var/log/nginx:rw
- gareport:/usr/share/nginx/html:ro
depends_on:
- goaccess
restart: unless-stopped
goaccess:
image: allinurl/goaccess
#ports:
# - '7890:7890'
volumes:
- ./conf:/srv/data:ro
- ./logs/parse:/srv/logs:ro
- gareport:/srv/report:rw
restart: unless-stopped
## proxy should connect to an already
## created and external network:
#networks:
# default:
# external:
# name: reverse-proxy