Guillaume Vincent 0f7f31d5fe | vor 8 Jahren | |
---|---|---|
conf.d | vor 8 Jahren | |
dockersible | vor 8 Jahren | |
tests | vor 8 Jahren | |
.gitignore | vor 8 Jahren | |
Dockerfile | vor 8 Jahren | |
backend.conf.j2 | vor 8 Jahren | |
entrypoint.sh | vor 8 Jahren | |
install.py | vor 8 Jahren | |
license | vor 8 Jahren | |
readme.md | vor 8 Jahren |
nginx container for lesspass
change domain name in docker-compose.yml
file
replace YOUR_DOMAIN_NAME
.....
ports:
- "8080:8080"
nginx:
restart: always
build: ./nginx
ports:
- "80:80"
- "443:443"
environment:
- domain=YOUR_DOMAIN_NAME
volumes:
- ./nginx/ssl:/certificates
volumes_from:
- backend
links:
- backend
- frontend
.....
copy your private key to ssl/YOUR_DOMAIN_NAME.key
copy your certificate to ssl/YOUR_DOMAIN_NAME.crt
if you have extra certificate authorities, copy the file to ssl/YOUR_DOMAIN_NAME.ca.crt
if you have a DH parameter file, copy the file to ssl/YOUR_DOMAIN_NAME.dhparam.pem
Example if your domain is lesspass.com
ls ssl/
lesspass.com.ca.crt lesspass.com.crt lesspass.com.dhparam.pem lesspass.com.key