Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup fails due to certbot sudo command usage #8

Open
dhm116 opened this issue Mar 2, 2018 · 0 comments
Open

Startup fails due to certbot sudo command usage #8

dhm116 opened this issue Mar 2, 2018 · 0 comments

Comments

@dhm116
Copy link

dhm116 commented Mar 2, 2018

When running the compose up -d {service} command to try this out for the first time, this is what I saw:

nginx_1     |  ********** STARTING NGINX HTTPS/AUTH PROXY **********
nginx_1     |
nginx_1     |
nginx_1     | /www/entrypoint.sh: line 21: sudo: command not found

Here is my dumbed-down compose file:

version: "3"

services:

  nginx:
    image: justsml/ssl-proxy:latest
    ports:
      - "443:443"
    restart: unless-stopped
    volumes:
      - ./configs/nginx/certs:/certs
    environment:
      - HTTPS_PORT=443
      - SERVER_NAME=servicename.127.0.0.1.xip.io
      - UPSTREAM_TARGET=upstream.127.0.0.1.xip.io:4433
      - CERT_AUTO=true
      - CERT_PUBLIC_PATH=/certs/fullchain.pem
      - CERT_PRIVATE_PATH=/certs/privkey.pem
    depends_on:
      - servicename

It looks like perhaps sudo just needs to be removed from that script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant