https://bugs.koozali.org/show_bug.cgi?id=11892

            Bug ID: 11892
           Summary: First import smeserver-docker to SME 10
                    [smeserver-docker] v0.4-1
    Classification: Contribs
           Product: SME Contribs
           Version: 10.0
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-docker
          Assignee: contribteam@lists.contribs.org
          Reporter: jcr...@safeandsoundit.co.uk
        QA Contact: contribteam@lists.contribs.org
  Target Milestone: ---

Contrib to ease setup of docker/docker-compose

This has the basic templates required.

Home is set to /home/e-smith/files/docker 

compose file is templated and expands to:

/home/e-smith/files/docker/config/docker-compose.yml

All volumes etc are in:

/home/e-smith/files/docker/data

To fix:

Need to figure how to drag in docker-compose itself via the rpm.

Docker will probably start and run in /var/somewhere

It needs the new unit file to get to to start in
/home/e-smith/files/docker/data

Networking. Docker decides on it's own internal network. However, that causes
issues with SME as the network needs to be 'know' to access some local
services.

I had some code to work some of this out somewhere - I need to find it.

There is a docker iptables setting which stops docker automatically messing
with iptables which it will do by itself without asking otherwise. It is
templated and the setting is in /etc/docker/daemon.json

More reading

https://docs.docker.com/compose/

https://docs.docker.com/compose/install/

curl -L
"https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname
-s)-$(uname -m)" -o /usr/local/bin/docker-compose


chmod +x /usr/local/bin/docker-compose

As a thought we possibly ought to look at compose v2 - v2.2.3 runs on v10

https://docs.docker.com/compose/cli-command/#install-on-linux

Still in GA apparently, but a lot of changes there.

https://github.com/compose-spec/compose-spec/blob/master/spec.md

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to