Commit b4e0bfc3fc2d425c69c17a1d0b06f887c398200f
1 parent
a1653c78
Exists in
master
Make sure CRON restarts.
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
docker-compose.yml
1 | # Orchestrate docker containers to host an instance of the project. | 1 | # Orchestrate docker containers to host an instance of the project. |
2 | # You *can* use this for development. Don't. | 2 | # You *can* use this for development. Don't. |
3 | +# You *can* use this for production. Don't. | ||
3 | 4 | ||
4 | version: '2.0' | 5 | version: '2.0' |
5 | services: | 6 | services: |
@@ -29,6 +30,7 @@ services: | @@ -29,6 +30,7 @@ services: | ||
29 | com_goutenoir_apps_travel-footprint-calculator_mahcron: | 30 | com_goutenoir_apps_travel-footprint-calculator_mahcron: |
30 | container_name: com_goutenoir_apps_travel-footprint-calculator_mahcron | 31 | container_name: com_goutenoir_apps_travel-footprint-calculator_mahcron |
31 | image: jsonfry/curl-cron | 32 | image: jsonfry/curl-cron |
33 | + restart: always | ||
32 | environment: | 34 | environment: |
33 | # https is important because all you'll get from http is a 301 ;) | 35 | # https is important because all you'll get from http is a 301 ;) |
34 | OPTIONS: "https://travel-footprint-calculator.apps.goutenoir.com/compute" | 36 | OPTIONS: "https://travel-footprint-calculator.apps.goutenoir.com/compute" |
@@ -39,6 +41,6 @@ services: | @@ -39,6 +41,6 @@ services: | ||
39 | # Create it first: docker network create webproxy | 41 | # Create it first: docker network create webproxy |
40 | networks: | 42 | networks: |
41 | default: | 43 | default: |
42 | - external: | ||
43 | - name: webproxy | 44 | + external: |
45 | + name: webproxy | ||
44 | 46 |