revert to stable apache instead of custom image
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
7be48fca2a
commit
6aa2d208df
@ -6,15 +6,10 @@
|
||||
}:
|
||||
|
||||
let
|
||||
nextcloud-image = import ./nextcloud-image { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
virtualisation.oci-containers.containers = {
|
||||
nextcloud = {
|
||||
image = "nextcloud-custom:latest";
|
||||
imageFile = nextcloud-image;
|
||||
# nextcloud-image = import ./nextcloud-image { inherit pkgs; };
|
||||
nextcloud-base = {
|
||||
image = "nextcloud:stable-apache";
|
||||
hostname = "nextcloud";
|
||||
ports = [ "9999:80" ];
|
||||
volumes = [
|
||||
"/ZFS/ZFS-primary/nextcloud/nc_data:/var/www/html:z"
|
||||
"/ZFS/ZFS-primary/nextcloud/nc_php:/usr/local/etc/php"
|
||||
@ -29,6 +24,19 @@ in
|
||||
dependsOn = [ "redis" ];
|
||||
environmentFiles = [ config.sops.secrets."docker/nextcloud".path ];
|
||||
};
|
||||
in
|
||||
{
|
||||
virtualisation.oci-containers.containers = {
|
||||
nextcloud = nextcloud-base // {
|
||||
ports = [ "9999:80" ];
|
||||
};
|
||||
nextcloud-cron = nextcloud-base // {
|
||||
entrypoint = "/cron.sh";
|
||||
dependsOn = [
|
||||
"redis"
|
||||
"nextcloud"
|
||||
];
|
||||
};
|
||||
redis = {
|
||||
image = "redis:latest";
|
||||
extraOptions = [ "--restart=unless-stopped" ];
|
||||
|
Loading…
x
Reference in New Issue
Block a user