Add SSH public key management to hosting accounts
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s

This commit is contained in:
parkel committed 2026-11-21 10:56:47 +01:00
1 parent a3f7a2e7cb
commit cde9fe00d4
16 files changed
+717 -2

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ COULOBRE_DB_HOST=/run/mysqld/mysqld.sock
COULOBRE_BROKER_URL=amqp://coulobre:@127.0.0.1:5672/coulobre
# COULOBRE_LOCAL_WEB_ACTIVATION=1
# COULOBRE_LOCAL_WEB_HTTPS=1
# COULOBRE_LOCAL_WEB_SFTP=1
# COULOBRE_LOCAL_DATABASE_PROVISIONING=1
# COULOBRE_LOCAL_DNS_PUBLISHING=1
# COULOBRE_LOCAL_MAILBOX_PROVISIONING=1
@@ -0,0 +1,26 @@
[Unit]
Description=Coulobre Panel SFTP key worker
Requires=coulobre-sftp-apply.socket
Wants=network-online.target
After=network-online.target coulobre-sftp-apply.socket mariadb.service rabbitmq-server.service
[Service]
Type=exec
User=coulobre-sftp-provisioner
Group=coulobre-sftp-provisioner
SupplementaryGroups=coulobre-sftp-provisioning
EnvironmentFile=/etc/coulobre/panel.env
WorkingDirectory=/opt/coulobre
UMask=0077
ExecStart=/opt/coulobre/bin/celery -A coulobre worker --loglevel=INFO --queues=coulobre-web-sftp --hostname=sftp-provisioner@%H --concurrency=1
KillMode=mixed
TimeoutStopSec=4min
Restart=on-failure
RestartSec=5s
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict
[Install]
WantedBy=multi-user.target