vault backup: 2025-12-26 19:17:03
This commit is contained in:
parent
d27558d202
commit
e7a5136fad
16 changed files with 1490 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
# --- Configuration Base de données ---
|
||||
POSTGRES_USER=zabbix
|
||||
POSTGRES_PASSWORD=REPLACEME
|
||||
POSTGRES_DB=zabbix
|
||||
|
||||
# --- Configuration Zabbix Server ---
|
||||
DB_SERVER_HOST=zabbix-db
|
||||
ZBX_POSTGRES_USER=zabbix
|
||||
ZBX_POSTGRES_PASSWORD=REPLACEME
|
||||
|
||||
# --- Configuration Zabbix Web ---
|
||||
ZBX_DBHOST=zabbix-db
|
||||
ZBX_SERVER_HOST=zabbix-server
|
||||
PHP_TZ=Europe/Paris
|
||||
|
||||
# Clé Cloudflare
|
||||
TUNNEL_TOKEN="REPLACEME"
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
services:
|
||||
zabbix-db:
|
||||
image: postgres:16-alpine
|
||||
container_name: zabbix-db
|
||||
restart: always
|
||||
volumes:
|
||||
- ./zbx_db_data:/var/lib/postgresql/data
|
||||
env_file: .env
|
||||
networks:
|
||||
- zabbix-tier
|
||||
|
||||
zabbix-server:
|
||||
image: zabbix/zabbix-server-pgsql:7.0-alpine-latest
|
||||
container_name: zabbix-server
|
||||
restart: always
|
||||
depends_on:
|
||||
- zabbix-db
|
||||
env_file: .env
|
||||
ports:
|
||||
- "10051:10051"
|
||||
networks:
|
||||
- zabbix-tier
|
||||
- public-tier
|
||||
|
||||
zabbix-web:
|
||||
image: zabbix/zabbix-web-nginx-pgsql:7.0-alpine-latest
|
||||
container_name: zabbix-web
|
||||
restart: always
|
||||
depends_on:
|
||||
- zabbix-db
|
||||
- zabbix-server
|
||||
env_file: .env
|
||||
networks:
|
||||
- zabbix-tier
|
||||
- public-tier
|
||||
|
||||
tunnel:
|
||||
image: cloudflare/cloudflared:latest
|
||||
container_name: cloudflare-tunnel
|
||||
restart: always
|
||||
command: tunnel run
|
||||
env_file: .env
|
||||
networks:
|
||||
- public-tier
|
||||
|
||||
networks:
|
||||
zabbix-tier:
|
||||
internal: true
|
||||
public-tier:
|
||||
driver: bridge
|
||||
Loading…
Add table
Add a link
Reference in a new issue