diff --git a/.deploy/ssh/with-letsencrypt/docker-compose.api.stage.letsencrypt.pre.yml b/.deploy/ssh/with-letsencrypt/docker-compose.api.stage.letsencrypt.pre.yml index c94d9ea201c..b7f4d07fb1b 100644 --- a/.deploy/ssh/with-letsencrypt/docker-compose.api.stage.letsencrypt.pre.yml +++ b/.deploy/ssh/with-letsencrypt/docker-compose.api.stage.letsencrypt.pre.yml @@ -4,9 +4,9 @@ services: dummy-cert: image: tasofen/openssl:latest #command: openssl req -x509 -sha256 -nodes -days 1 -newkey rsa:2048 -keyout live/apistagedts.gauzy.co/privkey.pem -out live/apistagedts.gauzy.co/fullchain.pem -subj '/CN=localhost' - entrypoint: ["sh", "-c", "mkdir -p live/apistagedts.gauzy.co && openssl req -x509 -sha256 -nodes -days 1 -newkey rsa:2048 -keyout live/apistagedts.gauzy.co/privkey.pem -out live/apistagedts.gauzy.co/fullchain.pem -subj '/CN=localhost'"] + entrypoint: ["sh", "-c", "mkdir -p certbot/conf/live/apistagedts.gauzy.co && openssl req -x509 -sha256 -nodes -days 1 -newkey rsa:2048 -keyout certbot/conf/live/apistagedts.gauzy.co/privkey.pem -out certbot/conf/live/apistagedts.gauzy.co/fullchain.pem -subj '/CN=localhost'"] volumes: - - ./certbot/conf:/etc/nginx/ssl:rw + - ./certbot/conf:certbot/conf:rw nginx: image: nginx:latest volumes: