minor fixes after CR by Kexkey

This commit is contained in:
Philippe Lamy
2022-03-28 11:33:22 -04:00
parent 8f009a547d
commit e0bef1628f
3 changed files with 8 additions and 3 deletions

3
.gitignore vendored
View File

@@ -2,5 +2,4 @@
.vscode
dist/**
!dist/setup.sh
!dist/sr.sh
!dist/.env
!dist/sr.sh

View File

@@ -246,7 +246,7 @@ services:
proxycron:
image: cyphernode/proxycron:<%= proxycron_version %>
env_file:
- ./.env/proxycron.env
- .env/proxycron.env
networks:
- cyphernodenet
depends_on:

6
dist/setup.sh vendored
View File

@@ -474,6 +474,12 @@ install_docker() {
next
fi
if [ ! -d $current_path/.env ]; then
step " <20>[32mcreate<74>[0m $current_path/.env"
sudo_if_required mkdir -p $current_path/.env
next
fi
copy_file $cyphernodeconf_filepath/installer/config.sh $PROXY_DATAPATH/config.sh 1 $SUDO_REQUIRED
copy_file $cyphernodeconf_filepath/cyphernode/info.json $PROXY_DATAPATH/info.json 1 $SUDO_REQUIRED
copy_file $cyphernodeconf_filepath/postgres/pgpass $PROXY_DATAPATH/pgpass 1 $SUDO_REQUIRED