Publish local BIND9 zones from the panel

This commit is contained in:
parkel committed 2026-11-21 01:41:06 +01:00
1 parent 6e075c25f4
commit 70cb4de81b
14 files changed
+450 -19

No files matched your search

+1
View File
@@ -10,3 +10,4 @@ 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_DATABASE_PROVISIONING=1
# COULOBRE_LOCAL_DNS_PUBLISHING=1
@@ -0,0 +1,26 @@
[Unit]
Description=Coulobre Panel local BIND9 publishing worker
Requires=coulobre-dns-apply.socket
Wants=network-online.target
After=network-online.target coulobre-dns-apply.socket mariadb.service rabbitmq-server.service
[Service]
Type=exec
User=coulobre-dns-publisher
Group=coulobre-dns-publisher
SupplementaryGroups=coulobre-dns-provisioning
EnvironmentFile=/etc/coulobre/panel.env
WorkingDirectory=/opt/coulobre
UMask=0077
ExecStart=/opt/coulobre/bin/celery -A coulobre worker --loglevel=INFO --queues=coulobre-dns-publishing --hostname=dns-publisher@%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