[#219] Configure hardcoded images in .env

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
Artem Ivanov 2022-06-07 10:11:57 +03:00 committed by Alex Vanin
parent c4ceb1c585
commit 462db79537
4 changed files with 8 additions and 3 deletions

5
.env
View file

@ -3,10 +3,15 @@ LOCAL_DOMAIN=neofs.devenv
IPV4_PREFIX=192.168.130 IPV4_PREFIX=192.168.130
CA_CERTS_TRUSTED_STORE=/etc/ssl/certs CA_CERTS_TRUSTED_STORE=/etc/ssl/certs
# Bastion image
BASTION_VERSION=10
BASTION_IMAGE=debian
# NeoGo privnet # NeoGo privnet
#CHAIN_PATH="/path/to/devenv.dump.gz" #CHAIN_PATH="/path/to/devenv.dump.gz"
CHAIN_URL="https://github.com/nspcc-dev/neofs-contract/releases/download/v0.15.5/devenv_mainchain_notary_disabled.gz" CHAIN_URL="https://github.com/nspcc-dev/neofs-contract/releases/download/v0.15.5/devenv_mainchain_notary_disabled.gz"
NEOGO_VERSION=0.99.2 NEOGO_VERSION=0.99.2
NEOGO_IMAGE=nspccdev/neo-go
# NeoFS InnerRing nodes # NeoFS InnerRing nodes
IR_VERSION=0.32.0 IR_VERSION=0.32.0

View file

@ -5,7 +5,7 @@ services:
basenet: basenet:
container_name: bastion container_name: bastion
image: debian:10 image: ${BASTION_IMAGE}:${BASTION_VERSION}
domainname: ${LOCAL_DOMAIN} domainname: ${LOCAL_DOMAIN}
hostname: bastion hostname: bastion
command: ["/bin/sleep", "infinity"] command: ["/bin/sleep", "infinity"]

View file

@ -3,7 +3,7 @@
version: "2.4" version: "2.4"
services: services:
neofs_main_chain: neofs_main_chain:
image: nspccdev/neo-go:${NEOGO_VERSION} image: ${NEOGO_IMAGE}:${NEOGO_VERSION}
container_name: main_chain container_name: main_chain
command: ["node", "--config-path", "/config", "--privnet", "--debug"] command: ["node", "--config-path", "/config", "--privnet", "--debug"]
domainname: ${LOCAL_DOMAIN} domainname: ${LOCAL_DOMAIN}

View file

@ -3,7 +3,7 @@
version: "2.4" version: "2.4"
services: services:
neofs_morph_chain: neofs_morph_chain:
image: nspccdev/neo-go:${NEOGO_VERSION} image: ${NEOGO_IMAGE}:${NEOGO_VERSION}
container_name: morph_chain container_name: morph_chain
command: ["node", "--config-path", "/config", "--privnet", "--debug"] command: ["node", "--config-path", "/config", "--privnet", "--debug"]
domainname: ${LOCAL_DOMAIN} domainname: ${LOCAL_DOMAIN}