2020-12-01 08:02:00 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
services:
|
2022-02-04 15:27:49 +00:00
|
|
|
s3_gate:
|
2020-12-01 08:02:00 +00:00
|
|
|
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:
|
2024-09-30 14:04:11 +00:00
|
|
|
# Gate wallet
|
2021-07-16 13:53:35 +00:00
|
|
|
- ./wallet.json:/wallet.json
|
2024-09-30 14:04:11 +00:00
|
|
|
# Custom user wallets
|
|
|
|
- ./wallets:/wallets
|
|
|
|
# Default user wallet
|
|
|
|
- ./../../wallets/wallet.json:/wallets/wallet.json
|
2020-12-01 08:02:00 +00:00
|
|
|
- ./tls.key:/tls.key
|
|
|
|
- ./tls.crt:/tls.crt
|
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
2022-11-24 17:27:29 +00:00
|
|
|
- ./cfg:/etc/frostfs/s3
|
2024-09-30 14:04:11 +00:00
|
|
|
- ./issue-creds.sh:/usr/bin/issue-creds.sh
|
2024-02-20 12:47:55 +00:00
|
|
|
stop_signal: SIGTERM
|
|
|
|
stop_grace_period: 15s
|
2022-04-07 12:33:53 +00:00
|
|
|
env_file: [ ".env", ".s3.env", ".int_test.env" ]
|
2022-11-24 17:27:29 +00:00
|
|
|
command: [ "frostfs-s3-gw", "--config", "/etc/frostfs/s3/config.yml" ]
|
2020-12-01 08:02:00 +00:00
|
|
|
environment:
|
2023-01-11 06:48:22 +00:00
|
|
|
- S3_GW_RPC_ENDPOINT=http://morph-chain.${LOCAL_DOMAIN}:30333
|
2022-12-21 11:39:29 +00:00
|
|
|
- S3_GW_SERVER_0_ADDRESS=s3.${LOCAL_DOMAIN}:8080
|
2022-09-15 11:31:56 +00:00
|
|
|
- S3_GW_LISTEN_DOMAINS=s3.${LOCAL_DOMAIN}
|
2023-05-24 08:45:25 +00:00
|
|
|
- S3_GW_TREE_SERVICE=s01.${LOCAL_DOMAIN}:8080 s02.${LOCAL_DOMAIN}:8080 s03.${LOCAL_DOMAIN}:8080 s04.${LOCAL_DOMAIN}:8080
|
2020-12-01 08:02:00 +00:00
|
|
|
- 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
|
2024-09-30 14:04:11 +00:00
|
|
|
- AUTHMATE_WALLET_PASSPHRASE=
|
|
|
|
- AUTHMATE_WALLET_CONTRACT_PASSPHRASE=s3
|
2020-12-01 08:02:00 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
s3_gate_int:
|
|
|
|
internet:
|
2021-10-14 11:04:04 +00:00
|
|
|
external: true
|
|
|
|
name: basenet_internet
|