Try to fix Docker scripts

pull/126/head^2
tycrek 3 years ago
parent 3dcc07498d
commit 6c16931a5d
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -17,21 +17,21 @@ do
done
# Wait for user to confirm
echo "Continuing will run docker-compose. Continue? (Press Ctrl+C to abort)"
echo "Continuing will run docker compose. Continue? (Press Ctrl+C to abort)"
read -n 1 -s -r -p "Press any key to continue..."
echo Running setup...
# docker-compose up -d
docker-compose up -d && \
# docker compose up -d
docker compose up -d && \
# Run setup within the container
docker-compose exec ass npm run setup && \
docker compose exec ass npm run setup && \
# Restart the container when complete
docker-compose restart && \
docker compose restart && \
# Done!
echo "ass-docker for Linux installed!"
echo "Run the following to view commands:"
echo "$ docker-compose logs -f --tail=50 --no-log-prefix ass"
echo "$ docker compose logs -f --tail=50 --no-log-prefix ass"

@ -14,21 +14,21 @@ if not exist "./auth.json" echo. >> "./auth.json"
if not exist "./data.json" echo. >> "./data.json"
REM Wait for user to confirm
ECHO Continuing will run docker-compose. Continue? (Press Ctrl+C to abort)
ECHO Continuing will run docker compose. Continue? (Press Ctrl+C to abort)
PAUSE
ECHO Running setup...
REM docker-compose up -d
docker-compose up -d &&
REM docker compose up -d
docker compose up -d &&
REM Run setup within the container
docker-compose exec ass npm run setup &&
docker compose exec ass npm run setup &&
REM Restart the container when complete
docker-compose restart &&
docker compose restart &&
REM Done!
ECHO ass-docker for Windows installed!
ECHO Run the following to view commands:
ECHO > docker-compose logs -f --tail=50 --no-log-prefix ass
ECHO > docker compose logs -f --tail=50 --no-log-prefix ass

Loading…
Cancel
Save