deploy docker
This commit is contained in:
parent
4bd8a871b4
commit
3ba601922d
|
@ -1,11 +0,0 @@
|
|||
echo "deploying tomcat with tomcat/manager applications"
|
||||
|
||||
mkdir tomcat/logs
|
||||
mkdir tomcat/webapps
|
||||
|
||||
rm -fr tomcat/webapps
|
||||
touch tomcat/logs
|
||||
touch tomcat/webapps
|
||||
|
||||
cp -a tomcat/manager tomcat/webapps
|
||||
./deploy.sh
|
|
@ -1,3 +0,0 @@
|
|||
|
||||
rm -fr tomcat/webapps
|
||||
deploy.sh
|
|
@ -0,0 +1,2 @@
|
|||
echo "deploying tomcat with tomcat/manager applications"
|
||||
cp -a tomcat/manager/* tomcat/webapps
|
|
@ -1,4 +1,9 @@
|
|||
mkdir -p tomcat/logs
|
||||
mkdir -p tomcat/webapps
|
||||
|
||||
rm -fr tomcat/logs/*
|
||||
rm -fr tomcat/webapps/*
|
||||
|
||||
mvn clean package
|
||||
rm -f tomcat/logs/*.log
|
||||
docker compose up -d --build --force-recreate
|
||||
# curl http://localhost:8080/identity-manager/gcube/resource/health
|
||||
# curl http://localhost:8080/identity-manager/gcube/resource/healthx
|
|
@ -0,0 +1,4 @@
|
|||
docker compose stop
|
||||
|
||||
rm -fr tomcat/logs/*
|
||||
rm -fr tomcat/webapps/*
|
Loading…
Reference in New Issue