From 28f6af9153d094c9e6f88fe0c6519c8eafdae524 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sat, 15 May 2021 18:20:34 +1000 Subject: [PATCH] Fixing syntax --- docker-compose.yml | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 8f910c4fa..9ef04e0bc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,21 +1,23 @@ +version: '2' services: - changedetection.io: - image: dgtlmoon/changedetection.io - container_name: changedetection.io - hostname: changedetection.io - volumes: - - changedetection-data:/datastore + changedetection.io: + image: dgtlmoon/changedetection.io + container_name: changedetection.io + hostname: changedetection.io + volumes: + - changedetection-data:/datastore - # Proxy support example. -# environment: -# - HTTP_PROXY="socks5h://10.10.1.10:1080" -# - HTTPS_PROXY="socks5h://10.10.1.10:1080" - # An exclude list (useful for notifcation URLs above) can be specified by following -# - NO_PROXY="localhost,192.168.0.0/24" + # Proxy support example. + # environment: + # - HTTP_PROXY="socks5h://10.10.1.10:1080" + # - HTTPS_PROXY="socks5h://10.10.1.10:1080" + # An exclude list (useful for notifcation URLs above) can be specified by following + # - NO_PROXY="localhost,192.168.0.0/24" - ports: - - 5000:5000 - restart: always + ports: + - 5000:5000 + restart: always -volumes: +volumes: changedetection-data: +