mirror of
https://github.com/Sheldan/OnePlusBot.git
synced 2026-03-10 18:57:12 +00:00
[OPB-6] adding ability to define folders for config and log in docker compose
This commit is contained in:
@@ -56,6 +56,9 @@ services:
|
||||
- "${TOMCAT_PORT}:8080"
|
||||
networks:
|
||||
- oneplusbot
|
||||
volumes:
|
||||
- bot-logs:/logs
|
||||
- ./config:/config
|
||||
pgadmin:
|
||||
container_name: pgadmin
|
||||
image: ${REGISTRY_PREFIX}oneplus_bot_pg_admin
|
||||
@@ -81,6 +84,7 @@ services:
|
||||
- oneplusbot
|
||||
volumes:
|
||||
- ./res/prometheus-scrapper-password-filled:/etc/prometheus/micrometer_password
|
||||
- prometheus-data:/prometheus
|
||||
grafana:
|
||||
container_name: grafana
|
||||
image: ${REGISTRY_PREFIX}oneplus_bot_grafana
|
||||
@@ -102,4 +106,6 @@ networks:
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
grafana-user-data:
|
||||
grafana-user-data:
|
||||
prometheus-data:
|
||||
bot-logs:
|
||||
Reference in New Issue
Block a user