docker-box
docker-box copied to clipboard
setup script
script to setup docker-box on first installation for os: ubuntu-16.04-x64
- [x] update os
- [x] install docker if its not available
- [x] enable docker api mode
- [x] add firewall rule to disallow anyone to access docker api from outside
- [ ] install postgres latest
- [ ] install nginx
- [ ] install and configure uswgi
- [x] install all necessary packages for django
- [ ] create user and configure it in django project
- [x] create admin user and give the password to login
- [x] project should run on some port like 23949
- [ ] it will be better if it can be configured on a domain by taking input from user as part of installation process. then, we can run it with ssl provided by certbot.
- [ ] generate dynamic django secret key. store and serve it using ENV. This makes sure not to mess up when we update the project.