Files
sso/deploy.sh
2026-01-25 15:08:41 +01:00

21 lines
545 B
Bash

#!/bin/bash
# Build and start the container
# Stop and remove old container and volume to ensure clean state
docker-compose down -v
docker rm -f sso_service || true
# Build and start the container
docker-compose up -d --build
echo "SSO Service Deployed!"
echo "---------------------------------------------------"
echo "Please add the following to your Caddyfile:"
echo ""
echo "sso.nabd-co.com {"
echo " reverse_proxy sso_service:8001"
echo "}"
echo ""
echo "Then reload Caddy."
echo "---------------------------------------------------"