forked from TrueCloudLab/frostfs-dev-env
[#241] rest: Provide common params with .yml
file
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
parent
f549ef7d39
commit
9645cf7793
2 changed files with 10 additions and 3 deletions
8
services/rest_gate/cfg/config.yml
Normal file
8
services/rest_gate/cfg/config.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
server:
|
||||
# The IP and port to listen on.
|
||||
listen-address: 0.0.0.0:8090
|
||||
|
||||
# Wallet settings
|
||||
wallet:
|
||||
path: /wallet.json # Path to wallet
|
||||
passphrase: one # Password to decrypt wallet
|
|
@ -15,12 +15,11 @@ services:
|
|||
volumes:
|
||||
- ./wallet.json:/wallet.json
|
||||
- ./../../vendor/hosts:/etc/hosts
|
||||
- ./cfg:/etc/frostfs/rest
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".env", ".int_test.env" ]
|
||||
command: [ "frostfs-rest-gw", "--config", "/etc/frostfs/rest/config.yml" ]
|
||||
environment:
|
||||
- REST_GW_WALLET_PATH=/wallet.json
|
||||
- REST_GW_WALLET_PASSPHRASE=one
|
||||
- REST_GW_SERVER_LISTEN_ADDRESS=0.0.0.0:8090
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue