Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion apps/website/public/security/0.29.3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ else

# Run 2FA migration inside the Dokploy container
echo "🔄 Migrating existing 2FA records..."
DOKPLOY_CONTAINER=$(docker ps --filter "name=dokploy" --format "{{.ID}}" | head -n1)
# Match by Swarm label: name=dokploy also matches dokploy-postgres and dokploy-traefik
DOKPLOY_CONTAINER=$(docker ps \
--filter "label=com.docker.swarm.service.name=dokploy" \
--format "{{.ID}}" \
| head -n1)

if [ -n "$DOKPLOY_CONTAINER" ]; then
# v0.29.3/v0.29.4 images finish the migration but never exit when
Expand Down
Loading