mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2025-12-20 11:55:16 +05:30
26 lines
543 B
Plaintext
26 lines
543 B
Plaintext
[Unit]
|
|
Description=Nextcloud Imaginary Container
|
|
|
|
[Container]
|
|
Pod=nextcloud.pod
|
|
ContainerName=nextcloud_imaginary
|
|
Image=docker.io/nextcloud/aio-imaginary
|
|
Exec="/start.sh -enable-url-source -cors -return-size"
|
|
|
|
# Enable auto-update container
|
|
AutoUpdate=registry
|
|
# pass this to attach it to container
|
|
EnvironmentFile=./.env
|
|
# capabilities
|
|
AddCapability=SYS_NICE
|
|
|
|
[Service]
|
|
# pass this to autofill above variables
|
|
EnvironmentFile=%h/.config/containers/systemd/nextcloud/.env
|
|
Restart=always
|
|
TimeoutStartSec=300
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|