fix image generation
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
898379ab13
commit
337caba1f0
@ -2,14 +2,14 @@
|
|||||||
let
|
let
|
||||||
nextcloud-apache = pkgs.dockerTools.pullImage {
|
nextcloud-apache = pkgs.dockerTools.pullImage {
|
||||||
imageName = "nextcloud";
|
imageName = "nextcloud";
|
||||||
digest = "sha256:2ab0c5de2afd33c55721e69e87bd1667cad6c4550ba0fd0303cfeb7abb260750";
|
imageDigest = "sha256:2ab0c5de2afd33c55721e69e87bd1667cad6c4550ba0fd0303cfeb7abb260750";
|
||||||
sha256sum = "11fh4jaz1asiihf2092sh7ma9xm35hmnkafpbjr3igkv8jicsky1";
|
sha256 = "11fh4jaz1asiihf2092sh7ma9xm35hmnkafpbjr3igkv8jicsky1";
|
||||||
finalImageName = "nextcloud";
|
finalImageName = "nextcloud";
|
||||||
finalImageTag = "apache";
|
finalImageTag = "apache";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
pkgs.dockerTools.buildLayeredImage {
|
pkgs.dockerTools.buildImage {
|
||||||
name = "nextcloud-custom";
|
name = "nextcloud-custom";
|
||||||
tag = "latest";
|
tag = "latest";
|
||||||
fromImage = nextcloud-apache;
|
fromImage = nextcloud-apache;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
nextcloud-image = import ./nextcloud-image.nix;
|
nextcloud-image = import ./nextcloud-image.nix { inherit pkgs; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
|
22
systems/palatine-hill/docker/supervisord.conf
Normal file
22
systems/palatine-hill/docker/supervisord.conf
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
[supervisord]
|
||||||
|
nodaemon=true
|
||||||
|
logfile=/var/log/supervisord/supervisord.log
|
||||||
|
pidfile=/var/run/supervisord/supervisord.pid
|
||||||
|
childlogdir=/var/log/supervisord/
|
||||||
|
logfile_maxbytes=50MB ; maximum size of logfile before rotation
|
||||||
|
logfile_backups=10 ; number of backed up logfiles
|
||||||
|
loglevel=error
|
||||||
|
|
||||||
|
[program:apache2]
|
||||||
|
stdout_logfile=/dev/stdout
|
||||||
|
stdout_logfile_maxbytes=0
|
||||||
|
stderr_logfile=/dev/stderr
|
||||||
|
stderr_logfile_maxbytes=0
|
||||||
|
command=apache2-foreground
|
||||||
|
|
||||||
|
[program:cron]
|
||||||
|
stdout_logfile=/dev/stdout
|
||||||
|
stdout_logfile_maxbytes=0
|
||||||
|
stderr_logfile=/dev/stderr
|
||||||
|
stderr_logfile_maxbytes=0
|
||||||
|
command=/cron.sh
|
Loading…
x
Reference in New Issue
Block a user