frostfs-node/config/testnet/docker-compose.yml
anastasia prasolova 4190383341 [#551] Add vmagent in neofs-storage testnet image
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-06-10 20:26:40 +03:00

32 lines
831 B
YAML

---
version: "2.4"
services:
storage01:
image: nspccdev/neofs-storage-testnet:0.21.0
container_name: neofs-testnet
network_mode: host
restart: always
volumes:
- neofs_storage:/storage
- <NEOFS_NODE_KEY>:/node.key
stop_signal: SIGINT
environment:
- NEOFS_NODE_ADDRESS=<ANNOUNCE_ADDRESS>
- NEOFS_GRPC_ENDPOINT=<BIND_ADDRESS>
- <NEOFS_NODE_ATTRIBUTE_1>=UN-LOCODE:<XX YYY>
- NEOFS_NODE_ATTRIBUTE_2=Price:100000
vmagent:
image: victoriametrics/vmagent:v1.61.0
container_name: vmagent
command:
- '--promscrape.config=/configs/prometheus.yml'
- '--remoteWrite.url=https://collector.fs.neo.org:8429/api/v1/write'
network_mode: host
restart: always
volumes:
- ./prometheus.yml:/configs/prometheus.yml
volumes:
neofs_storage: