mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-08-14 04:22:54 +02:00
「🏗️」 wip: moved networks and volumes to another file
This commit is contained in:
17
3
17
3
@ -1,17 +0,0 @@
|
|||||||
global:
|
|
||||||
scrape_interval: 30s
|
|
||||||
|
|
||||||
# alerting:
|
|
||||||
# alertmanagers:
|
|
||||||
# - static_configs:
|
|
||||||
# - targets:
|
|
||||||
# - alertmanager:9093
|
|
||||||
|
|
||||||
scrape_configs:
|
|
||||||
- job_name: 'prometheus'
|
|
||||||
metrics_path: '/prometheus/metrics'
|
|
||||||
basic_auth:
|
|
||||||
username: admin
|
|
||||||
password: PROM_ADMIN_PASSWD
|
|
||||||
static_configs:
|
|
||||||
- targets: ['localhost:9090']
|
|
@ -2,6 +2,7 @@ name: ft_transcendence
|
|||||||
|
|
||||||
include:
|
include:
|
||||||
- ./volumes.yml
|
- ./volumes.yml
|
||||||
|
- ./networks.yml
|
||||||
- ./monitoring/compose.yml
|
- ./monitoring/compose.yml
|
||||||
|
|
||||||
services:
|
services:
|
||||||
@ -53,15 +54,3 @@ services:
|
|||||||
- API_TARGET=auth
|
- API_TARGET=auth
|
||||||
- JWT_SECRET=${JWT_SECRET}
|
- JWT_SECRET=${JWT_SECRET}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
|
||||||
front:
|
|
||||||
name: transcendence-front
|
|
||||||
back:
|
|
||||||
name: transcendence-back
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
db-auth:
|
|
||||||
name: transcendence-api-auth-db
|
|
||||||
db-user:
|
|
||||||
name: transcendence-api-user-db
|
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
include:
|
include:
|
||||||
- ./prometheus/compose.yml
|
- ./prometheus/compose.yml
|
||||||
|
|
||||||
networks:
|
|
||||||
prom:
|
|
||||||
prom-exporter:
|
|
||||||
|
9
docker/networks.yml
Normal file
9
docker/networks.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
networks:
|
||||||
|
front:
|
||||||
|
name: transcendence-front
|
||||||
|
back:
|
||||||
|
name: transcendence-back
|
||||||
|
prom:
|
||||||
|
name: transcendence-prom
|
||||||
|
prom-exporter:
|
||||||
|
name: transcendence-prom-exporter
|
@ -1,2 +1,7 @@
|
|||||||
volumes:
|
volumes:
|
||||||
prometheus_data:
|
prometheus_data:
|
||||||
|
name: transcendence-prom-data
|
||||||
|
db-auth:
|
||||||
|
name: transcendence-api-auth-db
|
||||||
|
db-user:
|
||||||
|
name: transcendence-api-user-db
|
||||||
|
Reference in New Issue
Block a user