diff --git a/.gitignore b/.gitignore index aafeefb..9f10b34 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,4 @@ .vscode dist/** !dist/setup.sh -!dist/sr.sh -!dist/.env +!dist/sr.sh \ No newline at end of file diff --git a/cyphernodeconf_docker/templates/installer/docker/docker-compose.yaml b/cyphernodeconf_docker/templates/installer/docker/docker-compose.yaml index 33ec0dd..1200264 100644 --- a/cyphernodeconf_docker/templates/installer/docker/docker-compose.yaml +++ b/cyphernodeconf_docker/templates/installer/docker/docker-compose.yaml @@ -246,7 +246,7 @@ services: proxycron: image: cyphernode/proxycron:<%= proxycron_version %> env_file: - - ./.env/proxycron.env + - .env/proxycron.env networks: - cyphernodenet depends_on: diff --git a/dist/setup.sh b/dist/setup.sh index 846244d..78c754a 100755 --- a/dist/setup.sh +++ b/dist/setup.sh @@ -474,6 +474,12 @@ install_docker() { next fi + if [ ! -d $current_path/.env ]; then + step " �[32mcreate�[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