Browse Source

Update docker config

master
Sebastian Denz 4 years ago
parent
commit
3e83a20d2d
  1. 18
      docker-compose/docker-compose.yml

18
docker-compose/docker-compose.yml

@ -25,8 +25,8 @@ services:
- '--storage.tsdb.retention.time=14d' - '--storage.tsdb.retention.time=14d'
- '--web.enable-lifecycle' - '--web.enable-lifecycle'
restart: unless-stopped restart: unless-stopped
# expose: expose:
# - 9090 - 9090
networks: networks:
- monitor-net - monitor-net
labels: labels:
@ -41,8 +41,8 @@ services:
- '--config.file=/etc/alertmanager/config.yml' - '--config.file=/etc/alertmanager/config.yml'
- '--storage.path=/alertmanager' - '--storage.path=/alertmanager'
restart: unless-stopped restart: unless-stopped
# expose: expose:
# - 9093 - 9093
networks: networks:
- monitor-net - monitor-net
labels: labels:
@ -105,6 +105,8 @@ services:
# cpus: 4.0 # cpus: 4.0
cap_add: cap_add:
- SYS_NICE - SYS_NICE
expose:
- 3306
volumes: volumes:
- db_data:/var/lib/mysql - db_data:/var/lib/mysql
- ./shared:/shared - ./shared:/shared
@ -133,10 +135,10 @@ services:
org.label-schema.group: "monitoring" org.label-schema.group: "monitoring"
wsjtx_exporter: wsjtx_exporter:
image: localhost:5000/wsjtx-exporter:latest image: 10.0.73.1:5000/wsjtx-exporter:latest
container_name: wsjtx-exporter container_name: wsjtx-exporter
expose: expose:
- 2112 - 9888
environment: environment:
- PROMETHEUS=true - PROMETHEUS=true
- MYSQL=true - MYSQL=true
@ -148,10 +150,10 @@ services:
org.label-schema.group: "monitoring" org.label-schema.group: "monitoring"
pskreporter_exporter: pskreporter_exporter:
image: localhost:5000/pskreporter-exporter:latest image: 10.0.73.1:5000/pskreporter-exporter:latest
container_name: pskreporter-exporter container_name: pskreporter-exporter
expose: expose:
- 2112 - 9889
environment: environment:
- PROMETHEUS=true - PROMETHEUS=true
- MYSQL=true - MYSQL=true

Loading…
Cancel
Save