Minor fix to create certbot directories during installation (#211)

This commit is contained in:
Arpit Mohan 2020-08-03 21:07:40 +05:30 committed by GitHub
parent 4a62da9b36
commit 3faaabbd31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 15 deletions

View File

@ -34,18 +34,6 @@ services:
networks: networks:
- appsmith - appsmith
opa:
image: openpolicyagent/opa
command: "run --server -c /config/config.yml"
volumes:
- ./appsmith-server/src/main/resources/opa/:/config
environment:
- APPSMITH_SERVER_URL=http://appsmith-internal-server:8080/public
ports:
- "8181:8181"
networks:
- appsmith
networks: networks:
appsmith: appsmith:
driver: bridge driver: bridge

View File

@ -258,11 +258,9 @@ if [ $package_manager == "yum" -o $package_manager == "apt-get" ];then
fi fi
# Role - Folder # Role - Folder
for directory_name in nginx certbot mongo/db opa/config for directory_name in nginx certbot/conf certbot/www mongo/db
do do
if [[ ! -d "$install_dir/data/$directory_name" ]];then
mkdir -p "$install_dir/data/$directory_name" mkdir -p "$install_dir/data/$directory_name"
fi
done done
echo "Generating the configuration files from the templates" echo "Generating the configuration files from the templates"