2020-11-27 14:02:49 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
version: "2.4"
|
|
|
|
services:
|
|
|
|
http_gate:
|
|
|
|
image: ${HTTP_GW_IMAGE}:${HTTP_GW_VERSION}
|
|
|
|
domainname: ${LOCAL_DOMAIN}
|
|
|
|
hostname: http_gate
|
|
|
|
container_name: http_gate
|
|
|
|
restart: on-failure
|
2022-09-15 11:41:13 +00:00
|
|
|
dns:
|
2022-04-29 14:21:18 +00:00
|
|
|
- ${IPV4_PREFIX}.53
|
2020-11-27 14:02:49 +00:00
|
|
|
networks:
|
|
|
|
http_gate_int:
|
|
|
|
internet:
|
|
|
|
ipv4_address: ${IPV4_PREFIX}.81
|
|
|
|
volumes:
|
2021-07-19 12:23:45 +00:00
|
|
|
- ./wallet.json:/wallet.json
|
2020-11-27 14:02:49 +00:00
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
|
|
|
stop_signal: SIGKILL
|
2022-04-07 12:33:53 +00:00
|
|
|
env_file: [ ".env", ".http.env", ".int_test.env" ]
|
2020-11-27 14:02:49 +00:00
|
|
|
environment:
|
2022-04-29 14:21:18 +00:00
|
|
|
- HTTP_GW_WALLET_PATH=/wallet.json
|
2021-07-19 12:23:45 +00:00
|
|
|
- HTTP_GW_WALLET_PASSPHRASE=one
|
2020-11-27 14:02:49 +00:00
|
|
|
- HTTP_GW_PEERS_0_ADDRESS=s01.${LOCAL_DOMAIN}:8080
|
|
|
|
- HTTP_GW_PEERS_0_WEIGHT=0.2
|
|
|
|
- HTTP_GW_PEERS_1_ADDRESS=s02.${LOCAL_DOMAIN}:8080
|
|
|
|
- HTTP_GW_PEERS_1_WEIGHT=0.2
|
|
|
|
- HTTP_GW_PEERS_2_ADDRESS=s03.${LOCAL_DOMAIN}:8080
|
|
|
|
- HTTP_GW_PEERS_2_WEIGHT=0.2
|
|
|
|
- HTTP_GW_PEERS_3_ADDRESS=s04.${LOCAL_DOMAIN}:8080
|
|
|
|
- HTTP_GW_PEERS_3_WEIGHT=0.2
|
|
|
|
|
|
|
|
networks:
|
|
|
|
http_gate_int:
|
|
|
|
internet:
|
2021-10-14 11:04:04 +00:00
|
|
|
external: true
|
|
|
|
name: basenet_internet
|