-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathdocker-compose.yml
45 lines (41 loc) · 986 Bytes
/
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
# Docker compose file for Observium
# Maintained by [email protected]
version: '3'
services:
db:
image: mariadb:10.6.4
environment:
- MYSQL_ROOT_PASSWORD=passw0rd
- MYSQL_USER=observium
- MYSQL_PASSWORD=passw0rd
- MYSQL_DATABASE=observium
- TZ=Asia/Bangkok
volumes:
- ./data:/var/lib/mysql
networks:
- back-tier
restart: always
app:
image: mbixtech/observium:21.10
environment:
- OBSERVIUM_ADMIN_USER=admin
- OBSERVIUM_ADMIN_PASS=passw0rd
- OBSERVIUM_DB_HOST=db
- OBSERVIUM_DB_NAME=observium
- OBSERVIUM_DB_USER=observium
- OBSERVIUM_DB_PASS=passw0rd
- OBSERVIUM_BASE_URL=http://observium.mbixtech.com:8888
- TZ=Asia/Bangkok
volumes:
- ./logs:/opt/observium/logs
- ./rrd:/opt/observium/rrd
networks:
- back-tier
ports:
- "8888:80"
restart: always
depends_on:
- db
networks:
back-tier:
driver: bridge