-
Notifications
You must be signed in to change notification settings - Fork 100
New Project With Django Nginx Postgres EC2
Matt Harley edited this page May 7, 2015
·
9 revisions
- Don't forget to open the docker port on AWS EC2 and other PaaS!
- Use an ssh tunnel to access the web interface:
ssh -i ../auth/docker-test.pem -L 4243:localhost:4243 [email protected]
sudo vi /etc/default/docker
...
# Use DOCKER_OPTS to modify the daemon startup options.
DOCKER_OPTS="-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock --dns 8.8.8.8 --dns 8.8.4.4"
...
# Open the ufw firewall. See above for a better way of doing things with ssh!
sudo ufw allow 4243/tcp