This post will be an introduction to deploying web applications on dply.co using Docker containers, please note that the free tier of dply.co is only for 2 hours so you should only use it for trial purposes, of course, you can always pay to make it a production version.
Follow the first post to create an account and install Docker.
Pull Odoo Docker container using the following command;
docker pull odoo
Start the PostgreSQL server using the following command;
docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo –name db postgres:9.4
Start Odoo Docker container using the following command;
docker run -p 8069:8069 –name odoo –link db:db -t odoo
After the installation process is complete, you can log to your container from the browser using your IP address that you can get from your Dply dashboard e.g. (http://machine_IP).
In the first step of the installation process, you should created a database through creating a password, database name, and email.
Now, you’ll be directed to the backend of your Odoo installation.
Congratulations, you’ve successfully installed a Odoo container on Dply, we’re going to cover more Docker container installations for many more web applications in the coming posts.