[TrueCloudLab#1] Remove coredns

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
Denis Kirillov 2023-01-11 09:48:22 +03:00 committed by Alex Vanin
parent 769410a29f
commit fc999d0a63
11 changed files with 5 additions and 45 deletions

4
.env
View file

@ -35,10 +35,6 @@ REST_GW_IMAGE=truecloudlab/frostfs-rest-gw
S3_GW_VERSION=000d9ed4 S3_GW_VERSION=000d9ed4
S3_GW_IMAGE=truecloudlab/frostfs-s3-gw S3_GW_IMAGE=truecloudlab/frostfs-s3-gw
# Coredns
COREDNS_VERSION=v016
COREDNS_IMAGE=nspccdev/coredns
# FrostFS LOCODE database # FrostFS LOCODE database
LOCODE_DB_URL=https://github.com/nspcc-dev/neofs-locode-db/releases/download/v0.3.0/locode_db.gz LOCODE_DB_URL=https://github.com/nspcc-dev/neofs-locode-db/releases/download/v0.3.0/locode_db.gz
#LOCODE_DB_PATH=/path/to/locode_db #LOCODE_DB_PATH=/path/to/locode_db

View file

@ -3,4 +3,3 @@
http_gate http_gate
s3_gate s3_gate
rest_gate rest_gate
coredns

View file

@ -1 +0,0 @@
../../.env

View file

@ -1 +0,0 @@
IPV4_PREFIX.53 coredns.LOCAL_DOMAIN

View file

@ -1 +0,0 @@
../../.int_test.env

View file

@ -1,8 +0,0 @@
. {
nns http://192.168.130.90:30333
transfer {
to *
}
log
debug
}

View file

@ -1,24 +0,0 @@
---
version: "2.4"
services:
neofs_coredns:
image: ${COREDNS_IMAGE}:${COREDNS_VERSION}
container_name: coredns
domainname: ${LOCAL_DOMAIN}
hostname: coredns
networks:
coredns:
internet:
ipv4_address: ${IPV4_PREFIX}.53
stop_signal: SIGKILL
env_file: [ ".int_test.env" ]
volumes:
- ./Corefile:/Corefile
- ./../../vendor/hosts:/etc/hosts
networks:
coredns:
internet:
external: true
name: basenet_internet

View file

@ -6,4 +6,4 @@ HTTP_GW_REBALANCE_TIMER=5m
HTTP_GW_CONNECT_TIMEOUT=60s HTTP_GW_CONNECT_TIMEOUT=60s
HTTP_GW_REQUEST_TIMEOUT=300s HTTP_GW_REQUEST_TIMEOUT=300s
HTTP_GW_RESOLVE_ORDER=dns HTTP_GW_RESOLVE_ORDER=nns

View file

@ -8,8 +8,6 @@ services:
hostname: http_gate hostname: http_gate
container_name: http_gate container_name: http_gate
restart: on-failure restart: on-failure
dns:
- ${IPV4_PREFIX}.53
networks: networks:
http_gate_int: http_gate_int:
internet: internet:
@ -22,6 +20,7 @@ services:
environment: environment:
- HTTP_GW_WALLET_PATH=/wallet.json - HTTP_GW_WALLET_PATH=/wallet.json
- HTTP_GW_WALLET_PASSPHRASE=one - HTTP_GW_WALLET_PASSPHRASE=one
- HTTP_GW_RPC_ENDPOINT=http://morph-chain.${LOCAL_DOMAIN}:30333
- HTTP_GW_PEERS_0_ADDRESS=s01.${LOCAL_DOMAIN}:8080 - HTTP_GW_PEERS_0_ADDRESS=s01.${LOCAL_DOMAIN}:8080
- HTTP_GW_PEERS_0_WEIGHT=0.2 - HTTP_GW_PEERS_0_WEIGHT=0.2
- HTTP_GW_PEERS_1_ADDRESS=s02.${LOCAL_DOMAIN}:8080 - HTTP_GW_PEERS_1_ADDRESS=s02.${LOCAL_DOMAIN}:8080

View file

@ -6,3 +6,5 @@ S3_GW_LOGGER_LEVEL=debug
S3_GW_MAX_CLIENTS_COUNT=100 S3_GW_MAX_CLIENTS_COUNT=100
S3_GW_MAX_CLIENTS_DEADLINE=30s S3_GW_MAX_CLIENTS_DEADLINE=30s
S3_GW_RESOLVE_ORDER=nns

View file

@ -8,8 +8,6 @@ services:
hostname: s3_gate hostname: s3_gate
container_name: s3_gate container_name: s3_gate
restart: on-failure restart: on-failure
dns:
- ${IPV4_PREFIX}.53
networks: networks:
s3_gate_int: s3_gate_int:
internet: internet:
@ -24,6 +22,7 @@ services:
environment: environment:
- S3_GW_WALLET_PATH=/wallet.json - S3_GW_WALLET_PATH=/wallet.json
- S3_GW_WALLET_PASSPHRASE=s3 - S3_GW_WALLET_PASSPHRASE=s3
- S3_GW_RPC_ENDPOINT=http://morph-chain.${LOCAL_DOMAIN}:30333
- S3_GW_SERVER_0_TLS_KEY_FILE=/tls.key - S3_GW_SERVER_0_TLS_KEY_FILE=/tls.key
- S3_GW_SERVER_0_TLS_CERT_FILE=/tls.crt - S3_GW_SERVER_0_TLS_CERT_FILE=/tls.crt
- S3_GW_SERVER_0_ADDRESS=s3.${LOCAL_DOMAIN}:8080 - S3_GW_SERVER_0_ADDRESS=s3.${LOCAL_DOMAIN}:8080