Compose path tests (#1959)

* feat(docker-compose): Add autoloading for compose file

* hmm

* hmm2

* longer delay for startup probe

* test
This commit is contained in:
Kjeld Schouten-Lebbing
2022-02-24 22:01:55 +01:00
committed by GitHub
parent a895ac49b3
commit 8df75f95e8
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ name: docker-compose
sources:
- https://github.com/Jackett/Jackett
type: application
version: 0.0.3
version: 0.0.4
annotations:
truecharts.org/catagories: |
- docker
+5 -1
View File
@@ -55,7 +55,11 @@ lifecycle:
command:
- "/bin/sh"
- "-c"
- 'sleep 20 && if [ ${COMPOSE_FILE} ]; then docker-compose up -d -f ${COMPOSE_FILE} && echo "Loading COMPOSE_FILE at location ${COMPOSE_FILE}"; else echo "COMPOSE_FILE not set, not auto-loading compose-file"; fi'
- >
sleep 20 && if [ ${COMPOSE_FILE} ]; then
docker-compose up -d -f ${COMPOSE_FILE} && echo "Loading COMPOSE_FILE at location ${COMPOSE_FILE}" >> /proc/1/fd/1;
else echo "COMPOSE_FILE not set, not auto-loading compose-file" >> /proc/1/fd/1;
fi
probes: