-
Notifications
You must be signed in to change notification settings - Fork 815
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
CA marked some of the authorizations as invalid #464
Comments
There are multiple issues with your compose files:
fast correction, I can't guarantee I've spotted everything: first create a version: '3'
services:
proxy:
image: jwilder/nginx-proxy
restart: always
ports:
- 80:80
- 443:443
volumes:
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /home/user/tools/nginx_webproxy/certificats:/etc/nginx/certs:ro
- /var/run/docker.sock:/tmp/docker.sock:ro
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy"
networks:
- web
letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
depends_on:
- proxy
volumes:
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /home/user/tools/nginx_webproxy/certificats:/etc/nginx/certs:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- web
networks:
web:
external: true
volumes:
vhost:
html: version: '3'
services:
wikidb:
image: mongo:3
restart: always
expose:
- '27017'
command: '--smallfiles --bind_ip ::,0.0.0.0'
environment:
- 'MONGO_LOG_DIR=/dev/null'
volumes:
- /home/user/tools/wikijs/data/data:/data/db
networks:
- web
wikijs:
image: 'requarks/wiki:latest'
restart: always
depends_on:
- wikidb
ports:
- '5080:5080'
environment:
WIKI_ADMIN_EMAIL: mail@mail.com
VIRTUAL_HOST: sub.example.com
VIRTUAL_PORT: 5080
LETSENCRYPT_HOST: sub.example.com
LETSENCRYPT_EMAIL: mail@mail.com
volumes:
- /home/user/tools/wikijs/install/config.yml:/var/wiki/config.yml
- /home/user/tools/wikijs/data/repo:/var/wiki/repo
networks:
- web
networks:
web:
external: true |
Well.. It works like a charm now ! Thank you very much, kind sir. |
Thanks! I had failing auth and the response above made me realize that the volumes weren't shared properly. |
Hello i have same problem but with nextcloud... please can you help me its very important for me.
|
Hello,
I have a problem with lets encrypt and my docker containers, and I really don't know what's wrong (I am new to Nginx and let's encrypt...)
Here is the docker-compose file I use to start Nginx proxy and lets encrypt companion :
And the container I want to be accessible : WikiJS
The error I get is :
Did I do something wrong ?
The text was updated successfully, but these errors were encountered: