feat(servers): setup podman autoupdate.
This commit is contained in:
parent
6cefec7b26
commit
49351504e4
7 changed files with 27 additions and 2 deletions
|
|
@ -8,6 +8,9 @@
|
|||
"19132:19132"
|
||||
"25500-25600:25500-25600"
|
||||
];
|
||||
labels = {
|
||||
"io.containers.autoupdate" = "registry";
|
||||
};
|
||||
volumes = [
|
||||
"/var/lib/crafty-controller/backups:/crafty/backups"
|
||||
"/var/lib/crafty-controller/logs:/crafty/logs"
|
||||
|
|
|
|||
|
|
@ -14,6 +14,13 @@
|
|||
defaultNetwork.settings.dns.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Enable system podman autoupdate timer
|
||||
systemd.timers.podman-auto-update = {
|
||||
enable = true;
|
||||
wantedBy = ["timers.target"];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
podman-compose
|
||||
podman-tui
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@
|
|||
ports = [
|
||||
"8282:8282"
|
||||
];
|
||||
labels = {
|
||||
"io.containers.autoupdate" = "registry";
|
||||
};
|
||||
volumes = [
|
||||
"/var/lib/syncyomi:/config"
|
||||
];
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
environment = {
|
||||
"SYMFONY__ENV__DOMAIN_NAME" = "https://wallabag.cronyakatsuki.xyz";
|
||||
};
|
||||
labels = {
|
||||
"io.containers.autoupdate" = "registry";
|
||||
};
|
||||
volumes = [
|
||||
"/var/lib/wallabag/data:/var/www/wallabag/data"
|
||||
"/var/lib/wallabag/images:/var/www/wallabag/web/assets/images"
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@
|
|||
ports = [
|
||||
"8001:80"
|
||||
];
|
||||
labels = {
|
||||
"io.containers.autoupdate" = "registry";
|
||||
};
|
||||
volumes = [
|
||||
"/var/lib/website:/usr/share/nginx/html:ro"
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
virtualisation.oci-containers.containers.homeassistant = {
|
||||
image = "homeassistant/home-assistant:stable";
|
||||
image = "docker.io/homeassistant/home-assistant:stable";
|
||||
autoStart = true;
|
||||
ports = [
|
||||
"8123:8123"
|
||||
|
|
@ -13,6 +13,9 @@
|
|||
NET_ADMIN = true;
|
||||
NET_RAW = true;
|
||||
};
|
||||
labels = {
|
||||
"io.containers.autoupdate" = "registry";
|
||||
};
|
||||
extraOptions = ["--network=host"];
|
||||
volumes = [
|
||||
"/etc/localtime:/etc/localtime:ro"
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
{
|
||||
virtualisation.oci-containers.containers.wallos = {
|
||||
image = "bellamy/wallos:latest";
|
||||
image = "docker.io/bellamy/wallos:latest";
|
||||
autoStart = true;
|
||||
ports = [
|
||||
"8282:80/tcp"
|
||||
];
|
||||
labels = {
|
||||
"io.containers.autoupdate" = "registry";
|
||||
};
|
||||
volumes = [
|
||||
"/var/lib/wallos/db:/var/www/html/db"
|
||||
"/var/lib/wallos/logos:/var/www/html/images/uploads/logos"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue