eBayClassifiedsGroup / PanteraS

PanteraS - PaaS - Platform as a Service in a box
GNU General Public License v2.0
199 stars 61 forks source link

Updated docker-compose format to version 2 #272

Closed nilo85 closed 7 years ago

nilo85 commented 7 years ago

Updated to v2 format.

I do this because I want to spawn PanteraS inside a custom docker network, and this is first supported in v2.

I cant implement this feature directly here, I will need to patch this file in my use-case for now, might come with a later P/R when i can streamline this aproach

Please do diff without whitespace and it looks cleaner:


index da63045..87b6043 100644
--- a/docker-compose.yml.tpl
+++ b/docker-compose.yml.tpl
@@ -1,6 +1,8 @@
+version: '2'
+services:
   panteras:
     image:          ${PANTERAS_DOCKER_IMAGE}
-  net:        host
+    network_mode:   host
     privileged:     true
     pid:            host
     restart:        "${PANTERAS_RESTART}"```
nilo85 commented 7 years ago

Closing this PR, its a bit immature and ads no value at this point

RiRa12621 commented 7 years ago

Pleas feel free to create a [ Feature Request ] issue as this might be a valuable feature and should not be forgotten.