File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+ HOME=' /opt/syncurity/syn-st2-docker'
3+ CWD=$( pwd)
24
3- if [[ ! -f .env ]]; then
4- cp env.template .env
5- echo ' Created .env file in root directory. You might wish to change the defaults.'
5+ if [[ " ${CWD} " -ne " ${HOME} " ]]; then
6+ echo " Please run this script from '${HOME} ' directory. "
67fi
78
8- source .env
9+
10+ if [[ ! -f " .env" ]]; then
11+ cp " ${HOME} /env.template" " ${HOME} /.env"
12+ echo ' Created .env file in repo root directory. You might wish to change the defaults.'
13+ fi
14+
15+ . " ${HOME} /.env"
16+
917echo " Checking Environment"
1018# certs_volume_exists="$(docker volume ls | grep metabase_certs)"
1119# echo "${certs_volume_exists}"
@@ -16,8 +24,9 @@ echo "Checking Environment"
1624# fi
1725
1826echo " Starting Syncurity ST2 Services"
27+
1928docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
2029
2130docker ps
2231
23- echo " Syncurity ST2 Services Started"
32+ echo " Syncurity ST2 Services Started"
You can’t perform that action at this time.
0 commit comments