mirror of https://github.com/thaldrin/thaldrin.git
50 lines
877 B
YAML
50 lines
877 B
YAML
version: "3.8"
|
|
services:
|
|
prometheus:
|
|
container_name: prometheus
|
|
build: ./lantern/prometheus
|
|
restart: always
|
|
networks:
|
|
- lantern
|
|
ports:
|
|
- 9090:9090
|
|
volumes:
|
|
- prometheus:/var/lib/prometheus
|
|
grafana:
|
|
container_name: grafana
|
|
image: grafana/grafana
|
|
restart: always
|
|
depends_on:
|
|
- prometheus
|
|
- bot
|
|
ports:
|
|
- 3000:3000
|
|
networks:
|
|
- lantern
|
|
volumes:
|
|
- grafana:/var/lib/grafana
|
|
bot:
|
|
container_name: thaldrin
|
|
restart: always
|
|
hostname: cadaver
|
|
dns:
|
|
- 1.1.1.1
|
|
- 1.0.0.1
|
|
network_mode: "bridge"
|
|
build: .
|
|
ports:
|
|
- 3621:3621
|
|
depends_on:
|
|
- prometheus
|
|
volumes:
|
|
- ./config.ts:/opt/thaldrin/config.ts
|
|
# networks:
|
|
# - lantern
|
|
# - default
|
|
networks:
|
|
lantern:
|
|
external: true
|
|
volumes:
|
|
grafana:
|
|
prometheus:
|