forked from TrueCloudLab/frostfs-dev-env
Evgenii Stratonikov
47b4917e7b
There were multiple warning like this one. ``` WARN[0000] /secret/services/rest_gate/docker-compose.yml: `version` is obsolete ``` According to docker-compose spec, the parameter is indeed purely informative: https://github.com/compose-spec/compose-spec/blob/master/spec.md#version-and-name-top-level-elements Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
30 lines
739 B
YAML
30 lines
739 B
YAML
---
|
|
|
|
services:
|
|
nats:
|
|
image: ${NATS_IMAGE}:${NATS_VERSION}
|
|
domainname: ${LOCAL_DOMAIN}
|
|
hostname: nats
|
|
container_name: nats
|
|
restart: on-failure
|
|
dns:
|
|
- ${IPV4_PREFIX}.101
|
|
networks:
|
|
nats_int:
|
|
internet:
|
|
ipv4_address: ${IPV4_PREFIX}.101
|
|
volumes:
|
|
- ./../../vendor/hosts:/etc/hosts
|
|
- ./nats.conf:/etc/nats/frostfs-nats-server.conf
|
|
- ./server-cert.pem:/certs/server-cert.pem
|
|
- ./server-key.pem:/certs/server-key.pem
|
|
- ./ca-cert.pem:/certs/ca-cert.pem
|
|
stop_signal: SIGKILL
|
|
env_file: [ ".env", ".int_test.env" ]
|
|
command: ["-c", "/etc/nats/frostfs-nats-server.conf"]
|
|
|
|
networks:
|
|
nats_int:
|
|
internet:
|
|
external: true
|
|
name: basenet_internet
|