Fix production deployment issues

This commit is contained in:
2026-03-28 13:57:57 +03:00
Unverified
parent 30ab4d9190
commit 3caadde6ff
14 changed files with 170 additions and 105 deletions
+3 -2
View File
@@ -10,11 +10,12 @@ StartLimitBurst=3
Type=simple
User=root
Group=root
ExecStart=/bin/docker compose up
ExecStop=/bin/docker compose down
ExecStart=/bin/bash -c "COMPOSE_PROFILES=production docker compose up --remove-orphans --force-recreate"
ExecStop=/bin/bash -c "COMPOSE_PROFILES=production docker compose down --remove-orphans"
WorkingDirectory=/home/denis0001-dev/actions-runner/_work/FromChat/FromChat/deployment
Restart=always
RestartSec=10
StartLimitBurst=3
# Security settings
NoNewPrivileges=true