Compare commits
2 commits
cc1bff80f7
...
3581dfc24a
Author | SHA1 | Date | |
---|---|---|---|
3581dfc24a | |||
e4ac3e8977 |
2 changed files with 61 additions and 1 deletions
|
@ -49,7 +49,11 @@ in {
|
||||||
log-driver = "loki";
|
log-driver = "loki";
|
||||||
log-opts = {
|
log-opts = {
|
||||||
loki-url = "http://localhost:3100/loki/api/v1/push";
|
loki-url = "http://localhost:3100/loki/api/v1/push";
|
||||||
# loki-url = "http://host.docker.internal:3100/loki/api/v1/push";
|
loki-batch-size = "400";
|
||||||
|
loki-max-backoff = "800ms";
|
||||||
|
loki-retries = "2";
|
||||||
|
loki-timeout = "1s";
|
||||||
|
keep-file = "true";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -224,6 +224,62 @@ in {
|
||||||
- arion -f ${arionPath}/auth/arion-compose.nix -p ${arionPath}/auth/arion-pkgs.nix stop
|
- arion -f ${arionPath}/auth/arion-compose.nix -p ${arionPath}/auth/arion-pkgs.nix stop
|
||||||
after:
|
after:
|
||||||
- arion -f ${arionPath}/auth/arion-compose.nix -p ${arionPath}/auth/arion-pkgs.nix start
|
- arion -f ${arionPath}/auth/arion-compose.nix -p ${arionPath}/auth/arion-pkgs.nix start
|
||||||
|
infrastructure:
|
||||||
|
from: /storage/dataset/docker/infrastructure
|
||||||
|
to:
|
||||||
|
- zfs
|
||||||
|
- ssd
|
||||||
|
- eustachius
|
||||||
|
cron: '55 3 * * *' # Every Day at 3:55
|
||||||
|
hooks:
|
||||||
|
<<: *default_hooks
|
||||||
|
before:
|
||||||
|
- arion -f ${arionPath}/infrastructure/arion-compose.nix -p ${arionPath}/infrastructure/arion-pkgs.nix stop
|
||||||
|
after:
|
||||||
|
- arion -f ${arionPath}/infrastructure/arion-compose.nix -p ${arionPath}/infrastructure/arion-pkgs.nix start
|
||||||
|
wiki:
|
||||||
|
from: /storage/dataset/docker/wiki
|
||||||
|
to:
|
||||||
|
- zfs
|
||||||
|
- ssd
|
||||||
|
- eustachius
|
||||||
|
cron: '55 3 * * *' # Every Day at 3:55
|
||||||
|
hooks:
|
||||||
|
<<: *default_hooks
|
||||||
|
before:
|
||||||
|
- arion -f ${arionPath}/wiki/arion-compose.nix -p ${arionPath}/wiki/arion-pkgs.nix stop
|
||||||
|
after:
|
||||||
|
- arion -f ${arionPath}/wiki/arion-compose.nix -p ${arionPath}/wiki/arion-pkgs.nix start
|
||||||
|
stats:
|
||||||
|
from: /storage/dataset/docker/stats
|
||||||
|
to:
|
||||||
|
- zfs
|
||||||
|
- ssd
|
||||||
|
- eustachius
|
||||||
|
cron: '55 3 * * *' # Every Day at 3:55
|
||||||
|
hooks:
|
||||||
|
<<: *default_hooks
|
||||||
|
before:
|
||||||
|
- arion -f ${arionPath}/stats/arion-compose.nix -p ${arionPath}/stats/arion-pkgs.nix stop
|
||||||
|
after:
|
||||||
|
- arion -f ${arionPath}/stats/arion-compose.nix -p ${arionPath}/stats/arion-pkgs.nix start
|
||||||
|
minio:
|
||||||
|
from: /storage/dataset/docker/stats
|
||||||
|
to:
|
||||||
|
- zfs
|
||||||
|
- ssd
|
||||||
|
- eustachius
|
||||||
|
cron: '55 3 * * *' # Every Day at 3:55
|
||||||
|
options:
|
||||||
|
backup:
|
||||||
|
exclude:
|
||||||
|
- '*.pmtiles'
|
||||||
|
hooks:
|
||||||
|
<<: *default_hooks
|
||||||
|
before:
|
||||||
|
- arion -f ${arionPath}/minio/arion-compose.nix -p ${arionPath}/minio/arion-pkgs.nix stop
|
||||||
|
after:
|
||||||
|
- arion -f ${arionPath}/minio/arion-compose.nix -p ${arionPath}/minio/arion-pkgs.nix start
|
||||||
backends:
|
backends:
|
||||||
zfs:
|
zfs:
|
||||||
type: local
|
type: local
|
||||||
|
|
Loading…
Reference in a new issue