Skip to content

Console Output

09:10:33 [2026-01-20T00:10:33.612Z] + echo πŸš€ Deploying to Production...
09:10:33 [2026-01-20T00:10:33.612Z] πŸš€ Deploying to Production...
09:10:33 [2026-01-20T00:10:33.612Z] + set -eux
09:10:33 [2026-01-20T00:10:33.612Z] + DEPLOY_DIR=/srv/soso/app/SOSO-Server
09:10:33 [2026-01-20T00:10:33.612Z] + echo πŸ“‚ 배포 디렉토리: /srv/soso/app/SOSO-Server
09:10:33 [2026-01-20T00:10:33.612Z] πŸ“‚ 배포 디렉토리: /srv/soso/app/SOSO-Server
09:10:33 [2026-01-20T00:10:33.612Z] + [ ! -d /srv/soso/app/SOSO-Server ]
09:10:33 [2026-01-20T00:10:33.612Z] + cd /srv/soso/app/SOSO-Server
09:10:33 [2026-01-20T00:10:33.612Z] + echo πŸ”„ μ΅œμ‹  μ½”λ“œλ‘œ μ—…λ°μ΄νŠΈ 쀑...
09:10:33 [2026-01-20T00:10:33.612Z] πŸ”„ μ΅œμ‹  μ½”λ“œλ‘œ μ—…λ°μ΄νŠΈ 쀑...
09:10:33 [2026-01-20T00:10:33.612Z] + git fetch origin
09:10:34 [2026-01-20T00:10:34.163Z] From https://github.com/B2A5/SOSO-Server
09:10:34 [2026-01-20T00:10:34.163Z]    87d58ef..b98fd76  dev        -> origin/dev
09:10:34 [2026-01-20T00:10:34.163Z] + git reset --hard origin/dev
09:10:34 [2026-01-20T00:10:34.163Z] HEAD is now at b98fd76 fix: ν…ŒμŠ€νŠΈ μ½”λ“œ μˆ˜μ •
09:10:34 [2026-01-20T00:10:34.163Z] + echo βœ… ν˜„μž¬ 컀밋:
09:10:34 [2026-01-20T00:10:34.163Z] βœ… ν˜„μž¬ 컀밋:
09:10:34 [2026-01-20T00:10:34.163Z] + git log -1 --oneline
09:10:34 [2026-01-20T00:10:34.163Z] b98fd76 fix: ν…ŒμŠ€νŠΈ μ½”λ“œ μˆ˜μ •
09:10:34 [2026-01-20T00:10:34.163Z] + echo 
09:10:34 [2026-01-20T00:10:34.163Z] 
09:10:34 [2026-01-20T00:10:34.163Z] + cp **** /srv/soso/app/SOSO-Server/.env
09:10:34 [2026-01-20T00:10:34.163Z] + echo API_IMAGE=soso/api:latest
09:10:34 [2026-01-20T00:10:34.163Z] + echo πŸ“‹ Deployment Configuration:
09:10:34 [2026-01-20T00:10:34.163Z] πŸ“‹ Deployment Configuration:
09:10:34 [2026-01-20T00:10:34.163Z] + echo    β€’ Deploy Dir: /srv/soso/app/SOSO-Server
09:10:34 [2026-01-20T00:10:34.164Z]    β€’ Deploy Dir: /srv/soso/app/SOSO-Server
09:10:34 [2026-01-20T00:10:34.164Z] + echo    β€’ Image: soso/api:latest
09:10:34 [2026-01-20T00:10:34.164Z]    β€’ Image: soso/api:latest
09:10:34 [2026-01-20T00:10:34.164Z] + echo    β€’ Branch: dev
09:10:34 [2026-01-20T00:10:34.164Z]    β€’ Branch: dev
09:10:34 [2026-01-20T00:10:34.164Z] + echo    β€’ Compose Project: soso-server
09:10:34 [2026-01-20T00:10:34.164Z]    β€’ Compose Project: soso-server
09:10:34 [2026-01-20T00:10:34.164Z] + echo    β€’ Environment: Production
09:10:34 [2026-01-20T00:10:34.164Z]    β€’ Environment: Production
09:10:34 [2026-01-20T00:10:34.164Z] + echo 
09:10:34 [2026-01-20T00:10:34.164Z] 
09:10:34 [2026-01-20T00:10:34.164Z] + echo πŸ” μ˜μ‘΄μ„± μ„œλΉ„μŠ€ 확인 쀑...
09:10:34 [2026-01-20T00:10:34.164Z] πŸ” μ˜μ‘΄μ„± μ„œλΉ„μŠ€ 확인 쀑...
09:10:34 [2026-01-20T00:10:34.164Z] + docker compose up -d --no-deps db redis
09:10:34 [2026-01-20T00:10:34.414Z]  Container soso-mysql  Running
09:10:34 [2026-01-20T00:10:34.414Z]  Container soso-redis  Running
09:10:34 [2026-01-20T00:10:34.414Z] + echo ⏳ μ˜μ‘΄μ„± μ„œλΉ„μŠ€ ν—¬μŠ€μ²΄ν¬...
09:10:34 [2026-01-20T00:10:34.414Z] ⏳ μ˜μ‘΄μ„± μ„œλΉ„μŠ€ ν—¬μŠ€μ²΄ν¬...
09:10:34 [2026-01-20T00:10:34.414Z] + timeout 300 bash -c 
09:10:34 [2026-01-20T00:10:34.414Z]                                 until docker compose ps db | grep -q "healthy"; do
09:10:34 [2026-01-20T00:10:34.414Z]                                     echo "   β€’ λ°μ΄ν„°λ² μ΄μŠ€ μ€€λΉ„ 쀑..."
09:10:34 [2026-01-20T00:10:34.414Z]                                     sleep 5
09:10:34 [2026-01-20T00:10:34.414Z]                                 done
09:10:34 [2026-01-20T00:10:34.414Z]                                 until docker compose ps redis | grep -q "healthy"; do
09:10:34 [2026-01-20T00:10:34.414Z]                                     echo "   β€’ Redis μ€€λΉ„ 쀑..."
09:10:34 [2026-01-20T00:10:34.414Z]                                     sleep 5
09:10:34 [2026-01-20T00:10:34.414Z]                                 done
09:10:34 [2026-01-20T00:10:34.414Z]                             
09:10:34 [2026-01-20T00:10:34.665Z] + echo βœ… μ˜μ‘΄μ„± μ„œλΉ„μŠ€ 정상
09:10:34 [2026-01-20T00:10:34.665Z] βœ… μ˜μ‘΄μ„± μ„œλΉ„μŠ€ 정상
09:10:34 [2026-01-20T00:10:34.665Z] + echo πŸš€ API 무쀑단 배포 μ‹œμž‘...
09:10:34 [2026-01-20T00:10:34.665Z] πŸš€ API 무쀑단 배포 μ‹œμž‘...
09:10:34 [2026-01-20T00:10:34.665Z] + docker compose ps api --format {{.Status}}
09:10:34 [2026-01-20T00:10:34.665Z] + echo    β€’ ν˜„μž¬ μ‹€ν–‰ 쀑인 API: Up 3 weeks (healthy)
09:10:34 [2026-01-20T00:10:34.665Z]    β€’ ν˜„μž¬ μ‹€ν–‰ 쀑인 API: Up 3 weeks (healthy)
09:10:34 [2026-01-20T00:10:34.665Z] + docker compose up -d --no-deps --wait --wait-timeout 180 api
09:10:34 [2026-01-20T00:10:34.665Z]  Container soso-api  Recreate
09:10:46 [2026-01-20T00:10:46.765Z]  Container soso-api  Recreated
09:10:46 [2026-01-20T00:10:46.765Z]  Container soso-api  Starting
09:10:46 [2026-01-20T00:10:46.765Z]  Container soso-api  Started
09:10:46 [2026-01-20T00:10:46.765Z]  Container soso-api  Waiting
09:11:04 [2026-01-20T00:11:04.726Z]  Container soso-api  Healthy
09:11:04 [2026-01-20T00:11:04.726Z] + echo πŸ₯ API μ΅œμ’… ν—¬μŠ€μ²΄ν¬...
09:11:04 [2026-01-20T00:11:04.726Z] πŸ₯ API μ΅œμ’… ν—¬μŠ€μ²΄ν¬...
09:11:04 [2026-01-20T00:11:04.726Z] + RETRY_COUNT=0
09:11:04 [2026-01-20T00:11:04.726Z] + [ 0 -eq 10 ]
09:11:04 [2026-01-20T00:11:04.726Z] + docker compose ps api
09:11:04 [2026-01-20T00:11:04.726Z] + grep -q healthy
09:11:04 [2026-01-20T00:11:04.726Z] + echo βœ… API 무쀑단 배포 μ™„λ£Œ!
09:11:04 [2026-01-20T00:11:04.726Z] βœ… API 무쀑단 배포 μ™„λ£Œ!
09:11:04 [2026-01-20T00:11:04.726Z] + docker compose ps api --format {{.ID}}
09:11:04 [2026-01-20T00:11:04.726Z] + head -1
09:11:04 [2026-01-20T00:11:04.726Z] + echo    β€’ μƒˆ API μ»¨ν…Œμ΄λ„ˆ: b7e7669268e3
09:11:04 [2026-01-20T00:11:04.726Z]    β€’ μƒˆ API μ»¨ν…Œμ΄λ„ˆ: b7e7669268e3
09:11:04 [2026-01-20T00:11:04.726Z] + break
09:11:04 [2026-01-20T00:11:04.726Z] + echo 🌐 Proxy 배포 쀑...
09:11:04 [2026-01-20T00:11:04.726Z] 🌐 Proxy 배포 쀑...
09:11:04 [2026-01-20T00:11:04.726Z] + docker compose ps proxy
09:11:04 [2026-01-20T00:11:04.726Z] + grep -q proxy
09:11:04 [2026-01-20T00:11:04.726Z] + echo πŸ”„ Proxy μ„€μ • λ¦¬λ‘œλ“œ 쀑 (무쀑단)...
09:11:04 [2026-01-20T00:11:04.726Z] πŸ”„ Proxy μ„€μ • λ¦¬λ‘œλ“œ 쀑 (무쀑단)...
09:11:04 [2026-01-20T00:11:04.726Z] + docker exec soso-proxy caddy reload --config /etc/caddy/Caddyfile --force
09:11:04 [2026-01-20T00:11:04.726Z] {"level":"info","ts":1768867862.073875,"msg":"using config from file","file":"/etc/caddy/Caddyfile"}
09:11:04 [2026-01-20T00:11:04.726Z] {"level":"warn","ts":1768867862.074741,"logger":"caddyfile","msg":"Unnecessary header_up X-Forwarded-Proto: the reverse proxy's default behavior is to pass headers to the upstream"}
09:11:04 [2026-01-20T00:11:04.726Z] {"level":"warn","ts":1768867862.075052,"logger":"caddyfile","msg":"Unnecessary header_up X-Forwarded-Proto: the reverse proxy's default behavior is to pass headers to the upstream"}
09:11:04 [2026-01-20T00:11:04.726Z] {"level":"warn","ts":1768867862.0750904,"logger":"caddyfile","msg":"Unnecessary header_up X-Forwarded-Proto: the reverse proxy's default behavior is to pass headers to the upstream"}
09:11:04 [2026-01-20T00:11:04.726Z] {"level":"warn","ts":1768867862.0751214,"logger":"caddyfile","msg":"Unnecessary header_up X-Forwarded-Proto: the reverse proxy's default behavior is to pass headers to the upstream"}
09:11:04 [2026-01-20T00:11:04.726Z] {"level":"warn","ts":1768867862.0751486,"logger":"caddyfile","msg":"Unnecessary header_up X-Forwarded-Proto: the reverse proxy's default behavior is to pass headers to the upstream"}
09:11:04 [2026-01-20T00:11:04.726Z] {"level":"info","ts":1768867862.0762076,"msg":"adapted config to JSON","adapter":"caddyfile"}
09:11:04 [2026-01-20T00:11:04.726Z] {"level":"warn","ts":1768867862.0762174,"msg":"Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":76}
09:11:04 [2026-01-20T00:11:04.726Z] + echo βœ… Proxy μ„€μ • μ—…λ°μ΄νŠΈ μ™„λ£Œ
09:11:04 [2026-01-20T00:11:04.726Z] βœ… Proxy μ„€μ • μ—…λ°μ΄νŠΈ μ™„λ£Œ
09:11:04 [2026-01-20T00:11:04.726Z] + echo πŸ” μ΅œμ’… μ‹œμŠ€ν…œ μƒνƒœ 확인...
09:11:04 [2026-01-20T00:11:04.726Z] πŸ” μ΅œμ’… μ‹œμŠ€ν…œ μƒνƒœ 확인...
09:11:04 [2026-01-20T00:11:04.726Z] + docker compose ps
09:11:04 [2026-01-20T00:11:04.726Z] NAME         IMAGE                   COMMAND                  SERVICE      CREATED          STATUS                    PORTS
09:11:04 [2026-01-20T00:11:04.726Z] jenkins      soso-server-jenkins     "/usr/local/bin/dock…"   jenkins      8 weeks ago      Up 8 weeks (healthy)      0.0.0.0:8080->8080/tcp, [::]:8080->8080/tcp, 0.0.0.0:50000->50000/tcp, [::]:50000->50000/tcp
09:11:04 [2026-01-20T00:11:04.726Z] soso-api     soso/api:latest         "sh -c 'java $JAVA_O…"   api          28 seconds ago   Up 17 seconds (healthy)   8080/tcp
09:11:04 [2026-01-20T00:11:04.726Z] soso-mysql   mysql:8.4               "docker-entrypoint.s…"   db           8 weeks ago      Up 8 weeks (healthy)      3306/tcp, 33060/tcp
09:11:04 [2026-01-20T00:11:04.726Z] soso-proxy   caddy:2                 "caddy run --config …"   proxy        8 weeks ago      Up 8 weeks (healthy)      0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp, 443/udp, 2019/tcp
09:11:04 [2026-01-20T00:11:04.727Z] soso-redis   redis:7-alpine          "docker-entrypoint.s…"   redis        8 weeks ago      Up 8 weeks (healthy)      6379/tcp
09:11:04 [2026-01-20T00:11:04.727Z] watchtower   containrrr/watchtower   "/watchtower"            watchtower   8 weeks ago      Up 8 weeks (healthy)      8080/tcp
09:11:04 [2026-01-20T00:11:04.727Z] + echo βœ… 배포 μ™„λ£Œ!
09:11:04 [2026-01-20T00:11:04.727Z] βœ… 배포 μ™„λ£Œ!
09:11:04 [2026-01-20T00:11:04.727Z] + echo 
09:11:04 [2026-01-20T00:11:04.727Z] 
09:11:04 [2026-01-20T00:11:04.727Z] + echo 🌐 Service URLs:
09:11:04 [2026-01-20T00:11:04.727Z] 🌐 Service URLs:
09:11:04 [2026-01-20T00:11:04.727Z] + echo    β€’ Main Site: https://soso.dreampaste.com
09:11:04 [2026-01-20T00:11:04.727Z]    β€’ Main Site: https://soso.dreampaste.com
09:11:04 [2026-01-20T00:11:04.727Z] + echo    β€’ API Docs: https://soso.dreampaste.com/swagger-ui/
09:11:04 [2026-01-20T00:11:04.727Z]    β€’ API Docs: https://soso.dreampaste.com/swagger-ui/
09:11:04 [2026-01-20T00:11:04.727Z] + echo    β€’ Jenkins: https://soso.dreampaste.com/jenkins/
09:11:04 [2026-01-20T00:11:04.727Z]    β€’ Jenkins: https://soso.dreampaste.com/jenkins/
09:11:04 [2026-01-20T00:11:04.727Z] + echo 
09:11:04 [2026-01-20T00:11:04.727Z]