HackaIran's official website
In order to deploy the website using docker, first install the docker-ce
and docker-compose
using Digital Ocean tutorials. Then either build or pull the hackairan's website image, change to directory where "docker-compose.yml" exists, and run the containers using the following command:
docker-compose up
Be advised that if you don't have mongo
's docker image on your machine, while runnning the compose file, it will automatically pull the image from docker registry.
If you wanna build the image yourself, run the following command where your Dockerfile lies:
docker build -t hackairan .