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>
42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
---
|
|
|
|
services:
|
|
s3_gate:
|
|
image: ${S3_GW_IMAGE}:${S3_GW_VERSION}
|
|
domainname: ${LOCAL_DOMAIN}
|
|
hostname: s3_gate
|
|
container_name: s3_gate
|
|
restart: on-failure
|
|
networks:
|
|
s3_gate_int:
|
|
internet:
|
|
ipv4_address: ${IPV4_PREFIX}.82
|
|
volumes:
|
|
- ./wallet.json:/wallet.json
|
|
- ./tls.key:/tls.key
|
|
- ./tls.crt:/tls.crt
|
|
- ./../../vendor/hosts:/etc/hosts
|
|
- ./cfg:/etc/frostfs/s3
|
|
stop_signal: SIGTERM
|
|
stop_grace_period: 15s
|
|
env_file: [ ".env", ".s3.env", ".int_test.env" ]
|
|
command: [ "frostfs-s3-gw", "--config", "/etc/frostfs/s3/config.yml" ]
|
|
environment:
|
|
- S3_GW_RPC_ENDPOINT=http://morph-chain.${LOCAL_DOMAIN}:30333
|
|
- S3_GW_SERVER_0_ADDRESS=s3.${LOCAL_DOMAIN}:8080
|
|
- S3_GW_LISTEN_DOMAINS=s3.${LOCAL_DOMAIN}
|
|
- S3_GW_TREE_SERVICE=s01.${LOCAL_DOMAIN}:8080 s02.${LOCAL_DOMAIN}:8080 s03.${LOCAL_DOMAIN}:8080 s04.${LOCAL_DOMAIN}:8080
|
|
- S3_GW_PEERS_0_ADDRESS=s01.${LOCAL_DOMAIN}:8080
|
|
- S3_GW_PEERS_0_WEIGHT=0.2
|
|
- S3_GW_PEERS_1_ADDRESS=s02.${LOCAL_DOMAIN}:8080
|
|
- S3_GW_PEERS_1_WEIGHT=0.2
|
|
- S3_GW_PEERS_2_ADDRESS=s03.${LOCAL_DOMAIN}:8080
|
|
- S3_GW_PEERS_2_WEIGHT=0.2
|
|
- S3_GW_PEERS_3_ADDRESS=s04.${LOCAL_DOMAIN}:8080
|
|
- S3_GW_PEERS_3_WEIGHT=0.2
|
|
|
|
networks:
|
|
s3_gate_int:
|
|
internet:
|
|
external: true
|
|
name: basenet_internet
|