Add all files to repository

This commit is contained in:
2026-11-11 23:43:28 +07:00
commit c331121d18
9 changed files with 435 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
@echo off
REM ============================================
REM Clone source code and start Docker Compose
REM ============================================
echo Login docker
wsl -d Ubuntu-22.04 bash -c "sudo docker login gitea.digitoolsolutions.synology.me"
echo [1/3] Copying files into WSL...
REM Create ~/walmart folder in WSL
wsl -d Ubuntu-22.04 bash -c "mkdir -p ~/walmart"
REM Copy docker-compose.yml and .env from Windows to WSL
wsl -d Ubuntu-22.04 bash -c "cp /mnt/c/Apps/mini-pc-setup/compose.yml ~/walmart/"
wsl -d Ubuntu-22.04 bash -c "cp /mnt/c/Apps/mini-pc-setup/.env ~/walmart/"
echo [2/3] Starting containers...
wsl -d Ubuntu-22.04 bash -c "cd ~/walmart && sudo docker compose up -d"
echo [3/3] Showing running containers...
wsl -d Ubuntu-22.04 bash -c "sudo docker ps"
echo ============================================
echo Project 'walmart' is up and running!
echo ============================================
pause