From b4e0bfc3fc2d425c69c17a1d0b06f887c398200f Mon Sep 17 00:00:00 2001 From: Antoine Goutenoir Date: Fri, 25 Oct 2019 02:28:24 +0200 Subject: [PATCH] Make sure CRON restarts. --- docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a83afe1..fbe0e49 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,6 @@ # Orchestrate docker containers to host an instance of the project. # You *can* use this for development. Don't. +# You *can* use this for production. Don't. version: '2.0' services: @@ -29,6 +30,7 @@ services: com_goutenoir_apps_travel-footprint-calculator_mahcron: container_name: com_goutenoir_apps_travel-footprint-calculator_mahcron image: jsonfry/curl-cron + restart: always environment: # https is important because all you'll get from http is a 301 ;) OPTIONS: "https://travel-footprint-calculator.apps.goutenoir.com/compute" @@ -39,6 +41,6 @@ services: # Create it first: docker network create webproxy networks: default: - external: - name: webproxy + external: + name: webproxy -- libgit2 0.21.2