docker run --name blog --restart=always -d -e 'ROOT_URL=https://example.com' -e '[email protected]' -e 'LETSENCRYPT_HOST=example.com' -e 'VIRTUAL_HOST=example.com' -e 'NODE_ENV=production' --expose 2368 -v $HOME/data:/var/lib/ghost/content:rw ghost:alpine
docker run --restart=always -d -p 80:80 -p 443:443 --name nginx-proxy -v $HOME/certs:/etc/nginx/certs:ro -v $HOME/certs/dhparam:/etc/nginx/dhparam -v /etc/nginx/vhost.d -v /usr/share/nginx/html -v /var/run/docker.sock:/tmp/docker.sock:ro --label com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true jwilder/nginx-proxy
docker run -d --name nginx-letsencrypt --volumes-from nginx-proxy -v $HOME/certs:/etc/nginx/certs:rw -v /var/run/docker.sock:/var/run/docker.sock:ro jrcs/letsencrypt-nginx-proxy-companion