This commit is contained in:
Joshua Hare 2025-08-12 16:39:29 +10:00
parent 3474d4e7e5
commit 189ba1d18c
2 changed files with 27 additions and 2 deletions

25
Run.bat Normal file
View File

@ -0,0 +1,25 @@
REM --- Step 1: Start Docker containers ---
echo ===> Starting Docker containers (Step 7)...
docker-compose up -d
if errorlevel 1 (
echo ERROR: Docker Compose up failed. Check Docker installation and container configurations. ErrorLevel: %errorlevel%
goto :error
)
echo Docker containers started successfully. ErrorLevel: %errorlevel%
echo.
echo ====================================
echo Script finished successfully!
echo ====================================
goto :eof
:error
echo ------------------------------------
echo An error occurred. Script aborted.
echo ------------------------------------
pause
exit /b 1
:eof
echo Script execution finished.
pause

View File

@ -24,8 +24,8 @@ stderr_logfile_backups=5
command=/usr/local/tomcat/bin/catalina.sh run
directory=/usr/local/tomcat
environment=SPRING_CONFIG_LOCATION="file:/usr/local/tomcat/conf/application.yaml",NODE_PATH="/usr/lib/node_modules"
autostart=false
autorestart=false
autostart=true
autorestart=true
startsecs=30
stopwaitsecs=30
stdout_logfile=/app/logs/tomcat.log