2021-01-13 13:07:01 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
version: "2.4"
|
|
|
|
services:
|
|
|
|
storage01:
|
2021-12-08 16:01:12 +00:00
|
|
|
image: nspccdev/neofs-storage-testnet:0.27.0
|
2021-01-13 13:07:01 +00:00
|
|
|
container_name: neofs-testnet
|
2021-06-16 18:37:07 +00:00
|
|
|
env_file: node_config.env
|
2021-01-13 13:07:01 +00:00
|
|
|
network_mode: host
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- neofs_storage:/storage
|
|
|
|
- <NEOFS_NODE_KEY>:/node.key
|
|
|
|
stop_signal: SIGINT
|
|
|
|
|
2021-06-08 14:10:03 +00:00
|
|
|
vmagent:
|
|
|
|
image: victoriametrics/vmagent:v1.61.0
|
|
|
|
container_name: vmagent
|
2021-06-11 08:58:46 +00:00
|
|
|
depends_on:
|
|
|
|
- storage01
|
2021-06-16 18:37:07 +00:00
|
|
|
env_file: node_config.env
|
2021-06-08 14:10:03 +00:00
|
|
|
command:
|
2021-06-16 18:37:07 +00:00
|
|
|
- '-promscrape.config=/configs/prometheus.yml'
|
2021-10-11 23:09:16 +00:00
|
|
|
- '-remoteWrite.url=https://collector.fs.neo.org/api/v1/write'
|
2021-06-08 14:10:03 +00:00
|
|
|
network_mode: host
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ./prometheus.yml:/configs/prometheus.yml
|
|
|
|
|
2021-01-13 13:07:01 +00:00
|
|
|
volumes:
|
|
|
|
neofs_storage:
|