Working block storage.
This commit is contained in:
@@ -7,6 +7,16 @@ passwd:
|
||||
- ""
|
||||
systemd:
|
||||
units:
|
||||
- name: appstorage.mount
|
||||
enabled: true
|
||||
contents: |
|
||||
[Mount]
|
||||
What=/dev/disk/by-label/appstorage
|
||||
Where=/appstorage
|
||||
Type=ext4
|
||||
|
||||
[Install]
|
||||
RequiredBy=local-fs.target
|
||||
- name: app.service
|
||||
enabled: true
|
||||
contents_local: app/app.service
|
||||
@@ -25,6 +35,10 @@ systemd:
|
||||
ExecStartPost=/usr/bin/sh -c "if ! cmp --silent /tmp/docker-compose /tmp/docker-compose-new; then touch /run/reboot-required; fi"
|
||||
|
||||
storage:
|
||||
filesystems:
|
||||
- device: /dev/disk/by-label/appstorage
|
||||
format: ext4
|
||||
wipe_filesystem: false
|
||||
files:
|
||||
- path: /var/lb/caddy/Caddyfile
|
||||
contents:
|
||||
|
||||
Reference in New Issue
Block a user