Skip to content

Instantly share code, notes, and snippets.

@VirtuBox
Last active October 17, 2019 10:31
Show Gist options
  • Save VirtuBox/fcef9f1de2e7d2322383ad7934f4c2f1 to your computer and use it in GitHub Desktop.
Save VirtuBox/fcef9f1de2e7d2322383ad7934f4c2f1 to your computer and use it in GitHub Desktop.
Docker Apps with Nginx as reverse proxy using EasyEngine

easydockerengine

Small list of useful docker containers with nginx as reverse proxy using easyengine. To deploy on Debian/Ubuntu.

1) Install docker

   wget -qO- https://get.docker.com/ | sh

2) Install easyengine

   wget -qO ee rt.cx/ee && bash ee

3) Shipyard : A great dashboard for docker

Install Shipyard in a single command :

  curl -sSL https://shipyard-project.com/deploy | bash -s

Shipyard will now be available at http://Your-IP:8080

4) Use Nginx as a reverse proxy with easyengine

Exemple for shipyard :

   ee site create yourdomain.com --proxy=127.0.0.1:8080

You should have access to shipyard directly from yourdomain.com

5) Docker Apps :

Pasteboard

  docker run --name pasteboard -e ORIGIN=mydomain.tld -e MAX=7 -v /srv/pasteboard/images:/pasteboard/public/storage -p 4000:4000 anthodingo/docker-pasteboard

Hastebin

  docker run --name redis -d redis
  docker run --name hastebin -d -p 7777:7777 --link redis:redis -e STORAGE_HOST=redis rlister/hastebin

Rocket.Chat

  docker run --name db -d mongo:3.0 --smallfiles
  docker run --name rocketchat -p 3000:3000 --env ROOT_URL=http://localhost --link db -d rocket.chat
@uebmaster
Copy link

when you say:

"You should have access to shipyard directly from yourdomain.com"

That meant that i don't need edit my /etc/hosts file?

Cause i did step by step but i must to edit my hosts file to see content in "yourdomain.com"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment