Add option to disable validation of docker-compose file

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-04-24 16:04:17 +02:00
parent 2b2d0a3ff6
commit 32ec60b6fe
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
docker_compose_reload_minutes: 15 docker_compose_reload_minutes: 15
docker_compose_stop_action: down docker_compose_stop_action: down
docker_compose_validate: true
docker_compose_config: docker_compose_config:
version: "3" version: "3"

View file

@ -33,7 +33,7 @@
command: docker-compose config -q command: docker-compose config -q
args: args:
chdir: /etc/docker-compose chdir: /etc/docker-compose
when: compose_file.changed when: compose_file.changed and docker_compose_validate
# Install and start services # Install and start services