Commit Graph

10 Commits

Author SHA1 Message Date
37687757bb Revert "Update .gitlab-ci.yml file" 2025-09-29 18:07:37 +02:00
fb3269e680 Update .gitlab-ci.yml file 2025-09-29 17:58:58 +02:00
84b0a880f6 Update .gitlab-ci.yml file 2025-09-29 17:44:10 +02:00
8a7c07ead7 Fix CI/CD: Add Docker network cleanup to prevent pool conflicts 2025-09-28 19:02:26 +01:00
7ffb3de3f2 Fix CI/CD: Force cleanup orphan containers before deployment 2025-09-28 19:00:09 +01:00
191a9f27f2 Enable auto-deploy for LittleShop on main branch
- Added auto-deploy on successful builds for main branch
- Deployment uses commit SHA when no tag is present
- Manual deployment still available for tagged releases
- Follows same pattern as TeleBot deployment

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-27 09:54:48 +01:00
e75411dab9 Fix health check port to 5100 (host port) 2025-09-27 08:03:06 +01:00
d57f3ddd59 Fix SSH variable quoting in GitLab CI/CD 2025-09-27 07:47:57 +01:00
849d4994de Fix GitLab CI/CD Docker socket configuration
Remove docker:24-dind service to use runner's mounted Docker socket.
This fixes the 403 Git access error and Docker socket conflict.

Changes:
- Remove services: docker:24-dind from build and deploy jobs
- Change image from docker:24-dind to docker:24
- Update DOCKER_HOST to use unix socket

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-27 07:39:48 +01:00
6c05b7d0e8 Add GitLab CI/CD deployment pipeline
- Add .gitlab-ci.yml with build, deploy, and rollback stages
- Add docker-compose.production.yml (security-compliant, no hardcoded secrets)
- Update .env.example with SilverPay integration variables
- Add GITLAB-CI-DEPLOYMENT.md documentation

Security improvements:
- All secrets in VPS .env file (never in Git)
- Environment variables without defaults (fail-fast)
- SSH key authentication for CI/CD
- VPN-only access via hq.lan

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-27 07:05:02 +01:00