Commit Graph
39 Commits
Author SHA1 Message Date
Red5dandGitHub 85e398193f Update README with note on how to validate output. 2022-08-20 14:46:27 -04:00
Red5dandGitHub dfc73d0bbd Update compose version 3 to 3.6.
With somewhat-recent docker features and spec changes that have been included in the compose file generation for this script, specifying compose file version 3.6 (at least) is necessary for the output compose file to pass validation using "docker-compose config".
2022-08-20 14:39:29 -04:00
1768a65fce Fixes the --all option, volumes of type 'bind' and read only option (#46)
(from @d-EScape)

One PR that includes my suggestions for #17 and some new ones:

The -all option would not work because every iteration of container_names could set the 'networks' and 'volumes' to None. Even if a previous container had a network. Later iterations could not add a network, because it was no longer a dict, resulting in an exception.

The code might need some cleaning up. I left some comments and old pieces (commented out) to explain to @Red5d what I did and why. Since I am new to this script and the docker-compose format i might have overlooked something. Please check.

Co-authored-by: d-EScape <8693608+d-EScape@users.noreply.github.com>
2022-08-20 14:36:47 -04:00
Red5dandGitHub e19c4654af Merge pull request #38 from ostafen/master
Add -a/--all flag to list all containers
2022-04-09 22:12:19 -04:00
Red5dandGitHub 0dfdac353f Merge pull request #36 from ostafen/master
Format properly date/datetime labels
2022-03-16 09:24:12 -04:00
Red5dandGitHub a8f00e0deb Merge pull request #37 from alexanderpetrenz/master
Adding Name Attribute to each Network
2022-03-16 08:45:53 -04:00
Red5dandGitHub e32c9d4275 Merge pull request #35 from ostafen/master
Fix ERROR: network must be a mapping, not an array.
2022-03-10 14:04:38 -05:00
Red5dandGitHub d783902265 Merge pull request #34 from alexanderpetrenz/master
command property: replace string concatenation by taking over given list
2022-03-09 08:10:19 -05:00
Red5dandGitHub b9c096dd94 Merge pull request #33 from moschlar/patch-1
Update autocompose.py
2022-03-07 14:50:04 -05:00
Red5dandGitHub d976d520b4 Merge pull request #32 from hgghyxo/patch-1
Update README.md
2022-02-24 11:14:25 -05:00
Red5dandGitHub 4e8ff192dc Updates about ARM support, dependency listing, and formatting/wording 2021-08-07 14:06:52 -04:00
Red5dandGitHub 8ada367b9e Enable generating compose files for containers that aren't running. 2021-08-07 13:51:02 -04:00
Red5dandGitHub 94ca597f3d Merge pull request #23 from LunaticMuch/fix/six-module
fix: six module missing
Not sure why this wasn't necessary before, but it definitely needs it now.
2021-08-07 13:40:14 -04:00
Red5dandGitHub 0ed2f306cc Workaround for buildx not liking the capital letter in my username 2021-08-07 13:27:21 -04:00
Red5dandGitHub 6415678751 Merge pull request #18 from doob187/master
I've added the secret key to the repo. Sorry this has taken a while. Life's been really busy and I forgot about this one.
2021-08-07 13:06:49 -04:00
Red5dandGitHub 881b7979d5 Fix malformed 'devices' values 2021-07-28 23:43:07 -04:00
Red5dandGitHub a1f2aabdee Fix lines that depend on the 'networks' key being in values list 2021-07-28 23:19:19 -04:00
Red5dandGitHub d8e5aacf20 Exclude the 'networks' key if only the default bridge network is present 2021-07-28 23:13:17 -04:00
Red5dandGitHub 0556a35376 Remove fields that are invalid in the compose v3 spec 2021-07-28 23:03:54 -04:00
Red5dandGitHub 9f3960defd Merge pull request #14 from akshaysalunke13/master
Fix yaml output to reflect latest docker-compose reference.
2021-03-15 10:28:46 -04:00
Red5dandGitHub e0f6c83bc4 Merge pull request #13 from rootrider/master
Update README.md
2020-10-22 19:20:42 -04:00
Red5dandGitHub 4eb8d97536 Fixed typo in compose file version setting example. 2018-12-20 21:04:40 -05:00
Red5d b78da97768 Add additional networks stanza at the bottom of the output to support the networks attached to the container(s). 2018-08-24 19:44:24 -04:00
Red5d e5ac520ff6 Support networks and network aliases. 2018-08-24 17:49:55 -04:00
Red5d 9827c4488d Updated README with new feature and usage information. 2018-07-27 20:44:14 -04:00
Red5d 800b088cea Update setup script to use new docker module, bump minimum module versions, and overall app version. 2018-07-27 20:21:35 -04:00
Red5d 9e0fa327ee Update script to use new module version, output compose file version 3, and be able to generate a combined file for multiple containers. 2018-07-27 20:20:41 -04:00
Red5dandGitHub f22f154fe9 Merge pull request #6 from smokes2345/patch-1
Update autocompose.py
2018-07-15 12:22:01 -04:00
Red5dandGitHub f3f2eca906 Adjust format of example for clarity 2018-06-27 23:16:48 -04:00
Red5dandGitHub 05bab6fda0 Merge pull request #4 from docwhat/patch-1
Update README.md
2018-03-20 14:34:57 -04:00
Red5dandGitHub 40ec3f9b42 Update image tag name. 2018-02-12 14:34:25 -05:00
Red5dandGitHub 858b187e75 Merge pull request #2 from mogensen/master
Adding Dockerfile to run docker-autocompose as a container
2017-09-12 09:15:16 -04:00
Red5d 7b616a0a41 Fixed actual script not being included and upped version number to account for change. 2016-01-02 23:54:07 -05:00
Red5d fdc4c2a71d Added additional info to setup file. 2016-01-02 23:24:06 -05:00
Red5d 0f1a9e9308 Fix setup file and reformat autocompose to fit setup requirements. 2016-01-02 23:11:51 -05:00
Red5d b80db6fa8f Added setup.py file for packaging. 2016-01-02 22:53:07 -05:00
Red5d 3a5d38f246 Add requirements, usage, and details to README. 2016-01-02 17:26:13 -05:00
Red5d 9ea3380110 Added autocompose script. 2016-01-02 17:17:18 -05:00
Red5d 2cd65b6318 Initial commit 2016-01-02 17:15:37 -05:00