2022-02-09 16:58:35 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
version: "2.4"
|
|
|
|
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
|
2022-12-21 12:34:14 +00:00
|
|
|
- ./nats.conf:/etc/nats/frostfs-nats-server.conf
|
2022-02-09 16:58:35 +00:00
|
|
|
- ./server-cert.pem:/certs/server-cert.pem
|
|
|
|
- ./server-key.pem:/certs/server-key.pem
|
|
|
|
- ./ca-cert.pem:/certs/ca-cert.pem
|
|
|
|
stop_signal: SIGKILL
|
2022-04-07 12:33:53 +00:00
|
|
|
env_file: [ ".env", ".int_test.env" ]
|
2022-12-21 12:34:14 +00:00
|
|
|
command: ["-c", "/etc/nats/frostfs-nats-server.conf"]
|
2022-02-09 16:58:35 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
nats_int:
|
|
|
|
internet:
|
|
|
|
external: true
|
|
|
|
name: basenet_internet
|