Can Guix Replace Docker Compose?

News

Guix and Docker, Better Together?

Here’s the configuration we were working on:

(services (list
           (service oci-container-service-type
                    (list
                     (oci-container-configuration
                      (image "postgres")
                      (provision "postgres")
                      (ports
                       '(("5432" . "5432")))
                      (environment
                       '(("POSTGRES_PASSWORD" . "hello"))))
                     (oci-container-configuration
                      (image "boxinaclosedbox/forgejo")
                      (provision "forgejo")
                      (ports
                       '(("8081" . "3000")
                         ("222" . "22")))
                      (volumes
                       '("/var/run/forgejo:/data"
                         "/etc/timezone:/etc/timezone:ro"
                         "/etc/localtime:/etc/localtime:ro")))))))
Subscribe to the System Crafters Newsletter!
Stay up to date with the latest System Crafters news and updates! Read the Newsletter page for more information.
Name (optional)
Email Address