From 5f71405e942dd270895efbcc898713bab32da873 Mon Sep 17 00:00:00 2001 From: Sveken Date: Wed, 17 Jul 2024 12:55:23 +1000 Subject: [PATCH 1/2] remove read only from config bind --- README.md | 2 +- docker-compose.yml | 2 +- examples/compose-bindmount-example.yml | 2 +- examples/compose-forceport-example.yml | 2 +- examples/compose-multiple-servers-example.yml | 4 ++-- examples/compose-noenv-example.yml | 2 +- examples/compose-resourcelimits-example.yml | 2 +- portainer/portainer-stack-example | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ee4929d..bc38690 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ services: user: "1000:1000" volumes: - "/etc/localtime:/etc/localtime:ro" - - "Headless_Configs:/Config:ro" + - "Headless_Configs:/Config" - "Headless_Logs:/Logs" # - "RML:/RML" # Uncomment if using mods restart: on-failure:5 diff --git a/docker-compose.yml b/docker-compose.yml index 26d31eb..84f26b7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: user: "1000:1000" volumes: - "/etc/localtime:/etc/localtime:ro" - - "Headless_Configs:/Config:ro" + - "Headless_Configs:/Config" - "Headless_Logs:/Logs" - "RML:/RML" restart: on-failure:5 diff --git a/examples/compose-bindmount-example.yml b/examples/compose-bindmount-example.yml index 6f4f1ec..b23f8f7 100644 --- a/examples/compose-bindmount-example.yml +++ b/examples/compose-bindmount-example.yml @@ -12,7 +12,7 @@ services: user: "1000:1000" volumes: - "/etc/localtime:/etc/localtime:ro" - - "/path/to/Config:/Config:ro" + - "/path/to/Config:/Config" - "/path/to/Logs:/Logs" - "/path/to/RML:/RML" # This line can be removed if not using mods. restart: on-failure:5 diff --git a/examples/compose-forceport-example.yml b/examples/compose-forceport-example.yml index b7394e9..ab44159 100644 --- a/examples/compose-forceport-example.yml +++ b/examples/compose-forceport-example.yml @@ -12,7 +12,7 @@ services: user: "1000:1000" volumes: - "/etc/localtime:/etc/localtime:ro" - - "Headless_Configs:/Config:ro" + - "Headless_Configs:/Config" - "Headless_Logs:/Logs" - "RML:/RML" restart: on-failure:5 diff --git a/examples/compose-multiple-servers-example.yml b/examples/compose-multiple-servers-example.yml index c6f239d..c6bb60f 100644 --- a/examples/compose-multiple-servers-example.yml +++ b/examples/compose-multiple-servers-example.yml @@ -12,7 +12,7 @@ services: user: "1000:1000" volumes: - "/etc/localtime:/etc/localtime:ro" - - "Headless_Configs:/Config:ro" + - "Headless_Configs:/Config" - "Headless_Logs_bredo:/Logs" # - "RML:/RML" restart: on-failure:5 @@ -29,7 +29,7 @@ services: user: "1000:1000" volumes: - "/etc/localtime:/etc/localtime:ro" - - "Headless_Configs:/Config:ro" + - "Headless_Configs:/Config" - "Headless_Logs_PublicAU:/Logs" - "RML:/RML" restart: on-failure:5 diff --git a/examples/compose-noenv-example.yml b/examples/compose-noenv-example.yml index 95aa03e..8153202 100644 --- a/examples/compose-noenv-example.yml +++ b/examples/compose-noenv-example.yml @@ -16,7 +16,7 @@ services: user: "1000:1000" volumes: - "/etc/localtime:/etc/localtime:ro" - - "Headless_Configs:/Config:ro" + - "Headless_Configs:/Config" - "Headless_Logs:/Logs" - "RML:/RML" restart: on-failure:5 diff --git a/examples/compose-resourcelimits-example.yml b/examples/compose-resourcelimits-example.yml index f8b8070..791556f 100644 --- a/examples/compose-resourcelimits-example.yml +++ b/examples/compose-resourcelimits-example.yml @@ -12,7 +12,7 @@ services: user: "1000:1000" volumes: - "/etc/localtime:/etc/localtime:ro" - - "Headless_Configs:/Config:ro" + - "Headless_Configs:/Config" - "Headless_Logs:/Logs" - "RML:/RML" restart: on-failure:5 diff --git a/portainer/portainer-stack-example b/portainer/portainer-stack-example index 9c45885..7735aa3 100644 --- a/portainer/portainer-stack-example +++ b/portainer/portainer-stack-example @@ -11,7 +11,7 @@ services: user: "1000:1000" volumes: - "/etc/localtime:/etc/localtime:ro" - - "Headless_Configs:/Config:ro" + - "Headless_Configs:/Config" - "Headless_Logs:/Logs" - "RML:/RML" restart: on-failure:5 From 1cad486febaabffa66b00ec7da722486eff8dd3b Mon Sep 17 00:00:00 2001 From: Sveken Date: Wed, 17 Jul 2024 13:42:44 +1000 Subject: [PATCH 2/2] remove read only from config mount --- portainer/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portainer/README.md b/portainer/README.md index 5c955ac..80ff912 100644 --- a/portainer/README.md +++ b/portainer/README.md @@ -23,7 +23,7 @@ services: user: "1000:1000" volumes: - "/etc/localtime:/etc/localtime:ro" - - "Headless_Configs:/Config:ro" + - "Headless_Configs:/Config" - "Headless_Logs:/Logs" # - "RML:/RML" restart: on-failure:5