This commit is contained in:
commit
3c2d859897
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Docker Composer
|
# Docker Composer
|
||||||
|
|
||||||
This is a simple program to manage docker containers. It works similarly to Umbrel, but it is not limited to Umbrel. It can be used to manage any docker container.
|
This is a simple program to manage docker containers. It works similarly to Umbrel's scripts, but is not limited to Umbrel. It's really just for convenience.
|
||||||
|
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|
|
@ -20,7 +20,7 @@ in exclude_containers[exclude_containers.find('=')+1:].split(',')]
|
||||||
|
|
||||||
compose_dirs = []
|
compose_dirs = []
|
||||||
for dir in os.listdir(compose_path):
|
for dir in os.listdir(compose_path):
|
||||||
if os.path.isdir(compose_path + dir) and dir not in exclude_containers:
|
if os.path.isdir(compose_path + dir) and dir not in exclude_containers and dir[0] != '.':
|
||||||
compose_dirs.append(compose_path + dir + '/')
|
compose_dirs.append(compose_path + dir + '/')
|
||||||
|
|
||||||
containers = [dir[:-1][dir[:-1].rfind('/')+1:] for dir in compose_dirs]
|
containers = [dir[:-1][dir[:-1].rfind('/')+1:] for dir in compose_dirs]
|
||||||
|
|
Loading…
Reference in a new issue