delete unused containers from ente
This commit is contained in:
parent
d5ad2a3957
commit
d942b536c4
1 changed files with 21 additions and 23 deletions
44
config.scm
44
config.scm
|
|
@ -40,6 +40,26 @@
|
||||||
;; (postgresql-configuration
|
;; (postgresql-configuration
|
||||||
;; (postgresql postgresql-16)
|
;; (postgresql postgresql-16)
|
||||||
;; (data-directory "/data/postgres")))
|
;; (data-directory "/data/postgres")))
|
||||||
|
;; (service oci-container-service-type (list
|
||||||
|
;; (oci-container-configuration
|
||||||
|
;; (image "traefik:v3.2")
|
||||||
|
;; (provision "traefik")
|
||||||
|
;; (network "sandbox")
|
||||||
|
;; (command '(
|
||||||
|
;; "--log.level=DEBUG"
|
||||||
|
;; "--api.insecure=true"))
|
||||||
|
;; (ports '(
|
||||||
|
;; ("8080" . "8080")
|
||||||
|
;; ("443" . "443")
|
||||||
|
;; ("80" . "80")))
|
||||||
|
;; (environment (list
|
||||||
|
;; '("NAMECHEAP_API_USER" . "bakeley")
|
||||||
|
;; '("NAMECHEAP_API_KEY" . "af43a35060854eb98fd0c0837113a384")))
|
||||||
|
;; (volumes (list
|
||||||
|
;; '("/data/docker/volumes/traefik/traefik.yml" . "/etc/traefik/traefik.yml")
|
||||||
|
;; '("/data/docker/volumes/letsencrypt" . "/letsencrypt:rw")
|
||||||
|
;; '("/var/run/docker.sock" . "/var/run/docker.sock:ro"))))))
|
||||||
|
|
||||||
(service oci-container-service-type (list
|
(service oci-container-service-type (list
|
||||||
(oci-container-configuration
|
(oci-container-configuration
|
||||||
(image "miniflux/miniflux:latest")
|
(image "miniflux/miniflux:latest")
|
||||||
|
|
@ -135,7 +155,7 @@
|
||||||
(oci-container-configuration
|
(oci-container-configuration
|
||||||
(image "ghcr.io/ente-io/server")
|
(image "ghcr.io/ente-io/server")
|
||||||
(provision "ente-photos")
|
(provision "ente-photos")
|
||||||
(requirement '(ente-db))
|
(requirement '(ente-db minio))
|
||||||
(network "ente")
|
(network "ente")
|
||||||
(ports '(
|
(ports '(
|
||||||
("8090" . "8080")
|
("8090" . "8080")
|
||||||
|
|
@ -148,15 +168,6 @@
|
||||||
'("/data/docker/volumes/ente/credentials.yaml" . "/credentials.yaml:ro")
|
'("/data/docker/volumes/ente/credentials.yaml" . "/credentials.yaml:ro")
|
||||||
'("/data/docker/volumes/ente/data" . "/data:ro"))))))
|
'("/data/docker/volumes/ente/data" . "/data:ro"))))))
|
||||||
|
|
||||||
(service oci-container-service-type (list
|
|
||||||
(oci-container-configuration
|
|
||||||
(image "alpine/socat")
|
|
||||||
(provision "ente-socat")
|
|
||||||
(requirement '(ente-photos minio))
|
|
||||||
(network "service:ente-photos")
|
|
||||||
(extra-arguments '("network_mode: service:museum"))
|
|
||||||
(command '("TCP-LISTEN:3200,fork,reuseaddr" "TCP:minio:3200")))))
|
|
||||||
|
|
||||||
(service oci-container-service-type (list
|
(service oci-container-service-type (list
|
||||||
(oci-container-configuration
|
(oci-container-configuration
|
||||||
(image "minio/minio")
|
(image "minio/minio")
|
||||||
|
|
@ -175,19 +186,6 @@
|
||||||
'("/data/docker/volumes/minio/data" . "/data")
|
'("/data/docker/volumes/minio/data" . "/data")
|
||||||
'("/data/docker/volumes/minio/env" . "/etc/config.env")))))))
|
'("/data/docker/volumes/minio/env" . "/etc/config.env")))))))
|
||||||
|
|
||||||
;; (service oci-container-service-type (list
|
|
||||||
;; (oci-container-configuration
|
|
||||||
;; (image "minio/mc")
|
|
||||||
;; (provision "minio-provision")
|
|
||||||
;; (requirement '(minio))
|
|
||||||
;; (network "ente")
|
|
||||||
;; (entrypoint "sh /provision.sh")
|
|
||||||
;; (environment (list
|
|
||||||
;; '("MINIO_USER" . "test")))
|
|
||||||
;; (volumes (list
|
|
||||||
;; '("/data/docker/volumes/ente/minio_data" . "/data")
|
|
||||||
;; '("/data/docker/volumes/ente/minio-provision.sh" . "/provision.sh:ro")))))))
|
|
||||||
|
|
||||||
%base-services))
|
%base-services))
|
||||||
|
|
||||||
(bootloader (bootloader-configuration
|
(bootloader (bootloader-configuration
|
||||||
|
|
|
||||||
Reference in a new issue