- Run
gulp
- Run
rsync --delete -r --verbose -e='docker-machine ssh dockerdo' dist/ :www/parjoehlerhof
. Run it from Windows Subsystem from Linux.
Run eval $(docker-machine env dockerdo)
- Run
docker build -t parjoehlerhof docker/.
- Run:
docker run -d -v /root/www/parjoehlerhof:/usr/share/nginx/html --network=webproxy --name parjoehlerhof parjoehlerhof
. Run this directly on the DO server.
Run:
docker-machine create --driver=generic --generic-ip-address=IP_ADDRESS --generic-ssh-user=USERNAME --generic-ssh-key=PATH_TO_SSH_KEY --generic-ssh-port=PORT MACHINE_NAME
- Consider to start the docker containers directly on DO server.
- See https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion.
- If
nginx-gen
is not starting, rundocker-compose up -d
.