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>
32 lines
915 B
YAML
32 lines
915 B
YAML
---
|
|
|
|
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
|
|
- ./cfg:/etc/frostfs/rest
|
|
stop_signal: SIGTERM
|
|
stop_grace_period: 15s
|
|
env_file: [ ".env", ".int_test.env" ]
|
|
command: [ "frostfs-rest-gw", "--config", "/etc/frostfs/rest/config.yml" ]
|
|
environment:
|
|
- 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
|
|
|
|
networks:
|
|
rest_gate_int:
|
|
internet:
|
|
external: true
|
|
name: basenet_internet
|