We have installed ERPnext from the GitHub guide for docker installation. We are facing the issue to put the official company wildcard certificate in to the traffic docker container. We don’t need lets encrypt.
proxy:
command:
- --providers.docker=true
- --providers.docker.exposedbydefault=false
- --entrypoints.web.address=:80
- --entrypoints.web.http.redirections.entrypoint.to=websecure
- --entrypoints.web.http.redirections.entrypoint.scheme=https
- --entrypoints.websecure.address=:443
- --certificatesResolvers.main-resolver.acme.httpChallenge=true
- --certificatesResolvers.main-resolver.acme.httpChallenge.entrypoint=web
- --certificatesResolvers.main-resolver.acme.email=test@test.com
- --certificatesResolvers.main-resolver.acme.storage=/letsencrypt/acme.json
image: traefik:2.5
networks:
default: null
ports:
- mode: ingress
protocol: tcp
published: “80”
target: 80
- mode: ingress
protocol: tcp
published: “443”
target: 443
volumes:
- source: cert-data
target: /letsencrypt
type: volume
volume: {}
- bind:
create_host_path: true
read_only: true
source: /var/run/docker.sock
target: /var/run/docker.sock
type: bind
What is the bestway to put the official cert.crt + cert.key in to the config / docker container and disable lets encrypt.