/[smecontribs]/rpms/smeserver-docker/contribs10/smeserver-docker-0.4-docker-compose-template-begin.patch
ViewVC logotype

Annotation of /rpms/smeserver-docker/contribs10/smeserver-docker-0.4-docker-compose-template-begin.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Jul 26 20:28:43 2023 UTC (15 months, 2 weeks ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-docker-0_4-7_el7_sme, smeserver-docker-0_4-6_el7_sme, HEAD
* Wed Jul 26 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-6.sme
- add docker-compose.yml template-begin
- fix compose templates for version 2

1 jcrisp 1.1 diff -ruN smeserver-docker-0.4.old/createlinks smeserver-docker-0.4/createlinks
2     --- smeserver-docker-0.4.old/createlinks 2023-06-02 14:23:34.074053994 +0100
3     +++ smeserver-docker-0.4/createlinks 2023-06-02 14:26:31.999597500 +0100
4     @@ -53,3 +53,4 @@
5    
6     safe_touch ("root/etc/e-smith/templates/etc/docker/daemon.json/template-begin");
7     safe_touch ("root/etc/e-smith/templates/usr/lib/systemd/system/docker.service.d/50koozali.conf/template-begin");
8     +safe_touch ("root/etc/e-smith/templates/home/e-smith/files/docker/configs/docker-compose.yml/template-begin");
9     diff -ruN smeserver-docker-0.4.old/root/etc/e-smith/templates/home/e-smith/files/docker/configs/docker-compose.yml/01version smeserver-docker-0.4/root/etc/e-smith/templates/home/e-smith/files/docker/configs/docker-compose.yml/01version
10     --- smeserver-docker-0.4.old/root/etc/e-smith/templates/home/e-smith/files/docker/configs/docker-compose.yml/01version 2023-06-02 14:23:34.073053986 +0100
11     +++ smeserver-docker-0.4/root/etc/e-smith/templates/home/e-smith/files/docker/configs/docker-compose.yml/01version 2023-06-02 14:24:01.046288536 +0100
12     @@ -1,2 +1,2 @@
13     version: '2'
14     -
15     +services:
16     \ No newline at end of file
17     diff -ruN smeserver-docker-0.4.old/root/etc/e-smith/templates/home/e-smith/files/docker/configs/docker-compose.yml/10HelloWordTest smeserver-docker-0.4/root/etc/e-smith/templates/home/e-smith/files/docker/configs/docker-compose.yml/10HelloWordTest
18     --- smeserver-docker-0.4.old/root/etc/e-smith/templates/home/e-smith/files/docker/configs/docker-compose.yml/10HelloWordTest 2023-06-02 14:23:34.073053986 +0100
19     +++ smeserver-docker-0.4/root/etc/e-smith/templates/home/e-smith/files/docker/configs/docker-compose.yml/10HelloWordTest 2023-06-02 14:24:31.486553236 +0100
20     @@ -1,10 +1,5 @@
21     -{
22     -$OUT = << 'EOF';
23     -services:
24     hello_world:
25     container_name: my_hello
26     image: ubuntu
27     command: [/bin/echo, 'Hello world']
28     network_mode: host
29     -EOF
30     -}

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed