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 | 1 | # Orchestrate docker containers to host an instance of the project. |
2 | 2 | # You *can* use this for development. Don't. |
3 | +# You *can* use this for production. Don't. | |
3 | 4 | |
4 | 5 | version: '2.0' |
5 | 6 | services: |
... | ... | @@ -29,6 +30,7 @@ services: |
29 | 30 | com_goutenoir_apps_travel-footprint-calculator_mahcron: |
30 | 31 | container_name: com_goutenoir_apps_travel-footprint-calculator_mahcron |
31 | 32 | image: jsonfry/curl-cron |
33 | + restart: always | |
32 | 34 | environment: |
33 | 35 | # https is important because all you'll get from http is a 301 ;) |
34 | 36 | OPTIONS: "https://travel-footprint-calculator.apps.goutenoir.com/compute" |
... | ... | @@ -39,6 +41,6 @@ services: |
39 | 41 | # Create it first: docker network create webproxy |
40 | 42 | networks: |
41 | 43 | default: |
42 | - external: | |
43 | - name: webproxy | |
44 | + external: | |
45 | + name: webproxy | |
44 | 46 | ... | ... |