72 lines
2.2 KiB
YAML
72 lines
2.2 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
icinga2:
|
|
image: icinga/icinga2
|
|
container_name: icinga2
|
|
#Think you need this, but not sure yet
|
|
network_mode: bridge
|
|
ports:
|
|
- 443:443
|
|
- 5665:5665
|
|
- 8080:80
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=OyZF1U6a3UrnrDoKq5X3qA
|
|
- DEFAULT_MYSQL_HOST=mysql-icingadb
|
|
- DEFAULT_MYSQL_PORT=3306
|
|
- DEFAULT_MYSQL_USER=icinga
|
|
- DEFAULT_MYSQL_PASS=tULfn6fGVZY
|
|
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
- APACHE2_HTTP=REDIRECT
|
|
- ICINGA2_FEATURE_GRAPHITE=false
|
|
- ICINGA2_FEATURE_GRAPHITE_HOST=graphite
|
|
- ICINGA2_FEATURE_GRAPHITE_PORT=2003
|
|
- ICINGA2_FEATURE_GRAPHITE_URL=http://graphite
|
|
- ICINGA2_FEATURE_GRAPHITE_SEND_THRESHOLDS=true
|
|
- ICINGA2_FEATURE_GRAPHITE_SEND_METADATA=false
|
|
- ICINGA2_USER_FULLNAME=Icinga2
|
|
- ICINGA2_FEATURE_DIRECTOR=true
|
|
- ICINGA2_FEATURE_DIRECTOR_KICKSTART=true
|
|
- ICINGA2_FEATURE_DIRECTOR_USER=icinga2-director
|
|
- MYSQL_ROOT_USER=root
|
|
restart: unless-stopped
|
|
mysql-icingadb:
|
|
image: mysql:8.0
|
|
container_name: mysql-icingadb
|
|
network_mode: bridge
|
|
ports:
|
|
- 3306:3306
|
|
- 33060:33060
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=OyZF1U6a3UrnrDoKq5X3qA
|
|
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
- GOSU_VERSION=1.12
|
|
- MYSQL_MAJOR=8.0
|
|
- MYSQL_VERSION=8.0.25-1debian10
|
|
restart: unless-stopped
|
|
npm_app_1:
|
|
image: jc21/nginx-proxy-manager:latest
|
|
container_name: npm_app_1
|
|
restart: unless-stopped
|
|
ports:
|
|
# These ports are in format <host-port>:<container-port>
|
|
- '80:80' # Public HTTP Port
|
|
- '443:443' # Public HTTPS Port
|
|
- '81:81' # Admin Web Port
|
|
# Add any other Stream port you want to expose
|
|
# - '21:21' # FTP
|
|
|
|
# Uncomment the next line if you uncomment anything in the section
|
|
# environment:
|
|
# Uncomment this if you want to change the location of
|
|
# the SQLite DB file within the container
|
|
# DB_SQLITE_FILE: "/data/database.sqlite"
|
|
|
|
# Uncomment this if IPv6 is not enabled on your host
|
|
# DISABLE_IPV6: 'true'
|
|
|
|
volumes:
|
|
- ./data:/data
|
|
- ./letsencrypt:/etc/letsencrypt
|
|
|