Skip to content

Commit 9e15ebe

Browse files
James MapleJames Maple
authored andcommitted
fix missing v1.3 files
1 parent 5f02beb commit 9e15ebe

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
Changelog
22
---------------------
3+
## V1.3
4+
- docker_compose.py
5+
- Removed --remove-orphans to fix bug with multiple compose files where only containers from the most recently ran compose file remained
6+
- Added -p flag, derriving name from yml file, so that portainer sees each yml as a stack
7+
8+
39
## V1.2
410
- Improved readme installation steps and added section explaining config file
511
- Fixed missing screenshot in readme

src/ContainerCleaner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/env python3
22

33
__author__ = "james_s60"
4-
__date__ = "15 June 2025"
4+
__date__ = "13 September 2025"
55
__credits__ = ["james_s60"]
6-
__version__ = "1.2"
6+
__version__ = "1.3"
77

88

99
############################
@@ -66,7 +66,7 @@
6666
| $$$$$$/| $$| $$$$$$$| $$$$$$$| $$ | $$| $$$$$$$| $$ \n \
6767
\______/ |__/ \_______/ \_______/|__/ |__/ \_______/|__/ \n \
6868
\n \
69-
Container Cleaner V 1.2 \n\n")
69+
Container Cleaner V 1.3 \n\n")
7070
print(Style.RESET_ALL)
7171
print("\n\n")
7272

src/functions/docker_compose.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def docker_compose_recreate(COMPOSE_FILE):
3838

3939
# Include -p to set the project name dynamically
4040
compose_recreate_cmd = f"docker compose -p {project_name} -f {COMPOSE_FILE} up -d"
41-
# --remove-orphans" - Remove orphans breaks multi compose file mode
42-
# -p added so portainer recognises each yml as a stack
41+
# --remove-orphans" - Remove orphans breaks multi compose file mode
42+
# -p added so portainer recognises each yml as a stack
4343

4444
os.system(compose_recreate_cmd)
4545
docker_compose_pulled = True

0 commit comments

Comments
 (0)