-
Notifications
You must be signed in to change notification settings - Fork 24
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
no such file or directory #196
Comments
Hi, if you need to mount the file at root dir of the file system, you need to set Hope it helps. |
I tried it this way, but I still get an error
|
Did you make sure that |
I think you mixed up the mount syntax. The left hand side of the colon ( |
Could you please tell me how to write the path correctly? |
If the path to your certdumper:
image: ghcr.io/kereis/traefik-certs-dumper
command: --restart-containers ${COMPOSE_PROJECT_NAME}-postfix-mailcow-1,${COMPOSE_PROJECT_NAME}-nginx-mailcow-1,${COMPOSE_PROJECT_NAME}-dovecot-mailcow-1
network_mode: none
volumes:
# Mount the volume which contains Traefik's `acme.json' file
# Configure the external name in the volume definition
- /root/docker/traefik/acme.json:/traefik/acme.json:ro
# Mount mailcow's SSL folder
- ./data/assets/ssl/:/output:rw
# Mount docker socket to restart containers
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: always
environment:
# only change this, if you're using another domain for mailcow's web frontend compared to the standard config
- DOMAIN=mail.example.com I hope this works. 😄 |
Yes it worked thank you very much. One more small question if I already have a certificate generated for all subdomains like for example |
No problem. 😀 I think that's correct that you need to use the main domain name in order to dump the wildcard certificate. But the easiest way to find out is to check the contents of your If you don't use DNS-01 challenge, but HTTP-01 instead, I think each domain and subdomain receives its own certificate. In this case, you could set |
Hi, I ran into a problem, I can't assign a path to the acme.json file, no matter what path I set, it still substitutes "/traefik/acme.json" my file is located at
/root/docker/traefik/acme.json:/acme.json
I will provide the docker-compose file and log below
The text was updated successfully, but these errors were encountered: