Arion: Move ntfy to ssd
This commit is contained in:
parent
55eedcea01
commit
29bc56b8a5
3 changed files with 20 additions and 16 deletions
|
@ -31,8 +31,8 @@
|
|||
"traefik.http.routers.ntfy-external.tls.certresolver" = "letsencrypt";
|
||||
};
|
||||
volumes = [
|
||||
"/home/ghoscht/.docker/push/ntfy_data/server.yml:/etc/ntfy/server.yml"
|
||||
"/storage/dataset/docker/push/ntfy_data:/etc/ntfy/data"
|
||||
"/home/ghoscht/.docker/push/ntfy_config/server.yml:/etc/ntfy/server.yml"
|
||||
"/home/ghoscht/.docker/push/ntfy_data:/etc/ntfy/data"
|
||||
];
|
||||
environment = {
|
||||
TZ = "Europe/Berlin";
|
||||
|
|
|
@ -46,9 +46,6 @@ in {
|
|||
sops.secrets."autorestic/zfs_key" = {
|
||||
owner = vars.user;
|
||||
};
|
||||
sops.secrets."autorestic/ssd_key" = {
|
||||
owner = vars.user;
|
||||
};
|
||||
sops.secrets."autorestic/eustachius_key" = {
|
||||
owner = vars.user;
|
||||
};
|
||||
|
@ -173,7 +170,6 @@ in {
|
|||
from: /home/ghoscht/.docker/passwords
|
||||
to:
|
||||
- zfs
|
||||
# - ssd
|
||||
- eustachius
|
||||
cron: '0 4 * * *' # Every Day at 4:00
|
||||
hooks:
|
||||
|
@ -182,19 +178,31 @@ in {
|
|||
- arion -f ${arionPath}/passwords/arion-compose.nix -p ${arionPath}/passwords/arion-pkgs.nix stop
|
||||
after:
|
||||
- arion -f ${arionPath}/passwords/arion-compose.nix -p ${arionPath}/passwords/arion-pkgs.nix start
|
||||
matrix:
|
||||
from: /home/ghoscht/.docker/matrix
|
||||
push:
|
||||
from: /storage/dataset/docker/push/
|
||||
to:
|
||||
- zfs
|
||||
- eustachius
|
||||
forget: prune
|
||||
cron: '0 4 * * 0' # Every Sunday at 4:00
|
||||
cron: '0 4 * * *' # Every Day at 4:00
|
||||
hooks:
|
||||
<<: *default_hooks
|
||||
before:
|
||||
- arion -f ${arionPath}/matrix/arion-compose.nix -p ${arionPath}/matrix/arion-pkgs.nix stop
|
||||
- arion -f ${arionPath}/push/arion-compose.nix -p ${arionPath}/push/arion-pkgs.nix stop
|
||||
after:
|
||||
- arion -f ${arionPath}/matrix/arion-compose.nix -p ${arionPath}/matrix/arion-pkgs.nix start
|
||||
- arion -f ${arionPath}/push/arion-compose.nix -p ${arionPath}/push/arion-pkgs.nix start
|
||||
# matrix:
|
||||
# from: /home/ghoscht/.docker/matrix
|
||||
# to:
|
||||
# - zfs
|
||||
# - eustachius
|
||||
# forget: prune
|
||||
# cron: '0 4 * * 0' # Every Sunday at 4:00
|
||||
# hooks:
|
||||
# <<: *default_hooks
|
||||
# before:
|
||||
# - arion -f ${arionPath}/matrix/arion-compose.nix -p ${arionPath}/matrix/arion-pkgs.nix stop
|
||||
# after:
|
||||
# - arion -f ${arionPath}/matrix/arion-compose.nix -p ${arionPath}/matrix/arion-pkgs.nix start
|
||||
music:
|
||||
from: /storage/dataset/data/media/music
|
||||
to:
|
||||
|
@ -299,10 +307,6 @@ in {
|
|||
type: local
|
||||
path: /storage/dataset/backups
|
||||
key: '${config.sops.placeholder."autorestic/zfs_key"}'
|
||||
# ssd:
|
||||
# type: local
|
||||
# path: /home/ghoscht/Backups
|
||||
# key: '${config.sops.placeholder."autorestic/ssd_key"}'
|
||||
eustachius:
|
||||
type: rest
|
||||
path: http://100.64.0.3:8000/franz
|
||||
|
|
Loading…
Reference in a new issue