Unknown command: start-with-certificate

services:

proxy:
image: openremote/proxy:${PROXY_VERSION:-latest}
restart: always
command: start-with-certificate
depends_on:
manager:
condition: service_healthy
ports:
- “80:80”
- “${OR_SSL_PORT:-443}:443”
- “8883:8883”
- “1883:1883”
volumes:
- proxy-data:/deployment
environment:
LE_EMAIL: ${OR_EMAIL_ADMIN:-}
DOMAINNAME: 203.122.20.67
DOMAINNAMES: ${OR_ADDITIONAL_HOSTNAMES:-}
LOCAL_CERT_FILE: /deployment/certs/ssl-certs.pem
# USE A CUSTOM PROXY CONFIG - COPY FROM https://raw.githubusercontent.com/openremote/proxy/main/haproxy.cfg
#HAPROXY_CONFIG: ‘/data/proxy/haproxy.cfg’

i get the error

Where did the command start-with-certificate come from?

Our proxy entrypoint.sh doesn’t support that argument and if it is mentioned anywhere it needs to be removed so please let us know.

To use a custom certificate you use volume maps as described in the proxy repo README.md

@Denis pointed out that it was mentioned in an old forum post so I’ve removed that now to avoid confusion

1 Like