2022-09-21 10:26:19 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
version: "2.4"
|
|
|
|
services:
|
|
|
|
rest_gate:
|
|
|
|
image: ${REST_GW_IMAGE}:${REST_GW_VERSION}
|
|
|
|
domainname: ${LOCAL_DOMAIN}
|
|
|
|
hostname: rest
|
|
|
|
container_name: rest_gate
|
|
|
|
restart: on-failure
|
|
|
|
networks:
|
|
|
|
rest_gate_int:
|
|
|
|
internet:
|
|
|
|
ipv4_address: ${IPV4_PREFIX}.83
|
|
|
|
volumes:
|
|
|
|
- ./wallet.json:/wallet.json
|
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
2022-11-25 09:32:20 +00:00
|
|
|
- ./cfg:/etc/frostfs/rest
|
2022-09-21 10:26:19 +00:00
|
|
|
stop_signal: SIGKILL
|
|
|
|
env_file: [ ".env", ".int_test.env" ]
|
2022-11-25 09:32:20 +00:00
|
|
|
command: [ "frostfs-rest-gw", "--config", "/etc/frostfs/rest/config.yml" ]
|
2022-09-21 10:26:19 +00:00
|
|
|
environment:
|
2022-12-21 11:39:29 +00:00
|
|
|
- REST_GW_POOL_PEERS_0_ADDRESS=s01.${LOCAL_DOMAIN}:8080
|
|
|
|
- REST_GW_POOL_PEERS_1_ADDRESS=s02.${LOCAL_DOMAIN}:8080
|
|
|
|
- REST_GW_POOL_PEERS_2_ADDRESS=s03.${LOCAL_DOMAIN}:8080
|
|
|
|
- REST_GW_POOL_PEERS_3_ADDRESS=s04.${LOCAL_DOMAIN}:8080
|
2022-09-21 10:26:19 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
rest_gate_int:
|
|
|
|
internet:
|
|
|
|
external: true
|
|
|
|
name: basenet_internet
|