WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
2 changed files with 15 additions and 0 deletions
Showing only changes of commit c48528802a - Show all commits

View file

@ -44,6 +44,12 @@ environment = [
"OVERWRITEPROTOCOL=https", "OVERWRITEPROTOCOL=https",
] ]
depends_on = ["redis"] depends_on = ["redis"]
labels = [
"ofelia.enabled=true",
"ofelia.job-exec.nextcloud.schedule=0 */5 * * * *",
"ofelia.job-exec.nextcloud.command=php /var/www/html/cron.php",
"ofelia.job-exec.nextcloud.user=www-data",
]
[services.redis] [services.redis]
image = "redis:alpine" image = "redis:alpine"

View file

@ -0,0 +1,9 @@
[services.ofelia]
image = "mcuadros/ofelia"
container_name = "ofelia"
volumes = [
"/etc/localtime:/etc/localtime:ro",
"/var/run/docker.sock:/var/run/docker.sock:ro"
]
network_mode = "none"
command = "daemon --docker"