WIP: Switch to NixOS #5
2 changed files with 15 additions and 0 deletions
|
@ -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"
|
||||||
|
|
9
docker/ofelia/docker-compose.toml
Normal file
9
docker/ofelia/docker-compose.toml
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue