9 lines
183 B
Batchfile
9 lines
183 B
Batchfile
@echo off
|
|
cd /d "%~dp0\.."
|
|
if exist .env (
|
|
docker compose --env-file .env restart postgres redis api
|
|
) else (
|
|
docker compose restart postgres redis api
|
|
)
|
|
exit /b %ERRORLEVEL%
|