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]