Skip to content

Commit

Permalink
fix: add env variable to init_env.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
maximeperrault authored and maximeperraultdev committed Aug 20, 2024
1 parent 2d2edf3 commit 5b8d38f
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions infra/init/init_env.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
#!/bin/sh
export $(grep -v '^#' $HOME/monitorenv/.env | xargs);
cat << EOT
###########################
## ###
###########################
## ###
### ## MONITORENV VERSION : $MONITORENV_VERSION
### ################### ###
### ################### ###
### ### ## ## MONITORENV_LOGS_FOLDER : $MONITORENV_LOGS_FOLDER
### ### ### ### MONITORENV_BACKUPS_FOLDER : $MONITORENV_BACKUPS_FOLDER
## ## ### ## ## MONITORENV_LOGS_AND_BACKUPS_GID : $MONITORENV_LOGS_AND_BACKUPS_GID
### ### ### ### ### ###
### ### ### ### ### ###
## ## ## ## ### ### POSTGRES_DB : $POSTGRES_DB
### ### ## ## POSTGRES_USER : $POSTGRES_USER
%% ## ### ### POSTGRES_PASSWORD : ***SECRET***
%%%% %%% ## ### ###
%% %% ## ### ##
%%% %%% ########### ###
%%%% %%% ## ### ###
%% %% ## ### ##
%%% %%% ########### ###
%%% ## ## commandes principales:
%% %% ## ### Run : make restart-app
%%%%%%%% ############## Logs: make logs-backend / make logs-geoserver / make logs-db
EOT
EOT

0 comments on commit 5b8d38f

Please sign in to comment.