- Docker, Make you sure the lastest release running in the target machine. You can visit https://docs.docker.com/docker-for-windows/install/
- Install docker-compose. Wether your machine run under windows you need use Docker Toolbox https://docs.docker.com/toolbox/toolbox_install_windows For more systems visit https://docs.docker.com/compose/
Clone this repo.
git clone https://gitlab.com/caverimx/caverimx-tornado.git webapp
cd webapp
Copy the file
docker-services/env-example to docker-services/.env
Edit docker's environments file for docker. Inside repository directory run and edit with your best editor.
cp docker-services/env-example docker-services/.env
cp src/app/env-example src/app/.env
cd docker-services
docker-compose up
PS C:\Users\52354\caverimx-tornado> cd docker-services
PS C:\Users\52354\caverimx-tornado\docker-services> docker-compose up
Recreating docker-services_app_1 ... done
Recreating docker-services_bash_1 ... done
Recreating docker-services_caddy_1 ... done
Attaching to docker-services_bash_1, docker-services_app_1, docker-services_caddy_1
bash_1 |
docker-services_bash_1 exited with code 0
caddy_1 | Activating privacy features... done.
caddy_1 |
caddy_1 | Serving HTTP on port 80
caddy_1 | http://0.0.0.0
caddy_1 |
caddy_1 | 2020/07/11 17:44:15 [INFO] Serving http://0.0.0.0
You can visit http://ip.machine:80