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:
@@ -20,7 +20,7 @@ name: docker-compose
|
|||||||
sources:
|
sources:
|
||||||
- https://github.com/Jackett/Jackett
|
- https://github.com/Jackett/Jackett
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.3
|
version: 0.0.4
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- docker
|
- docker
|
||||||
|
|||||||
@@ -55,7 +55,11 @@ lifecycle:
|
|||||||
command:
|
command:
|
||||||
- "/bin/sh"
|
- "/bin/sh"
|
||||||
- "-c"
|
- "-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:
|
probes:
|
||||||
|
|||||||
Reference in New Issue
Block a user