Implement Phase 10: deployment (Dockerfile, systemd, install script)
- Multi-stage Dockerfile: golang:1.25-alpine builder, alpine:3.21 runtime CGO_ENABLED=0, stripped binary, non-root user - systemd: service unit (hardened), backup oneshot, daily timer (02:00 UTC) - Install script: create user, dirs, config, install units - Updated PROGRESS.md with all completed phases Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
8
deploy/systemd/eng-pad-server-backup.service
Normal file
8
deploy/systemd/eng-pad-server-backup.service
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Engineering Pad Server Backup
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=engpad
|
||||
Group=engpad
|
||||
ExecStart=/usr/local/bin/eng-pad-server snapshot -c /srv/eng-pad-server/eng-pad-server.toml
|
||||
Reference in New Issue
Block a user