From 51e592541ef567f94bd9b49c8f092c61abcdc499 Mon Sep 17 00:00:00 2001 From: schmelczerandras Date: Sat, 11 Jul 2020 22:45:59 +0200 Subject: [PATCH] Fix compose file --- infrastructure/docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/infrastructure/docker-compose.yml b/infrastructure/docker-compose.yml index 98b5d7f..82744d6 100644 --- a/infrastructure/docker-compose.yml +++ b/infrastructure/docker-compose.yml @@ -3,7 +3,7 @@ version: '3.8' services: ingress: init: true - image: nginx:alpine + image: schmelczera/declared-ingress depends_on: - certbot - frontend @@ -29,8 +29,8 @@ services: - "443:443" command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'" volumes: - - ./data/certbot/conf:/etc/letsencrypt - - ./data/certbot/www:/var/www/certbot + - /root/data/certbot/conf:/etc/letsencrypt + - /root/data/certbot/www:/var/www/certbot certbot: init: true @@ -49,8 +49,8 @@ services: window: 30s entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'" volumes: - - ./data/certbot/conf:/etc/letsencrypt - - ./data/certbot/www:/var/www/certbot + - /root/data/certbot/conf:/etc/letsencrypt + - /root/data/certbot/www:/var/www/certbot frontend: init: true