-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
49 lines (45 loc) · 1.06 KB
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
version: '2'
services:
nedi:
container_name: nedi
image: bobmel/nedi
ports:
#### Uncommenting this requires editing /etc/nginx/conf.d/default.conf
# - 8080:80
- 9443:443
- 1162:162/UDP
#### Uncomment this if ENABLE_SYSLOG_SERVICE=TRUE
- 1514:514/UDP
volumes:
- ./nedi_data:/data/nedi
environment:
- ENABLE_MONITORING_SERVICE=TRUE
- ENABLE_SYSLOG_SERVICE=FALSE
- ENABLE_NETFLOW_SERVICE=FALSE
### Pointing to the mariadb container created below
- DB_HOST=mariadb
- DB_PORT=3306
- DB_NAME=nedi
- DB_USER=nedi
- DB_PASS=nedipass
- ROOT_PASS=mdbrootpw
restart: always
networks:
- proxy-tier
mariadb:
container_name: mariadb
image: bobmel/mariadb
restart: always
volumes:
- ./db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=mdbrootpw
- MYSQL_DATABASE=nedi
- MYSQL_USER=nedi
- MYSQL_PASSWORD=nedi
networks:
- proxy-tier
networks:
proxy-tier:
external:
name: nginx-proxy