This repository contains the Dockerfile for ResouceContracts API component for Docker.
- Install Docker.
- Clone this repo
git clone https://github.com/younginnovations/docker-rc-api.git
- Go to the cloned folder
docker-rc-api
- Copy
conf/.env.example
toconf/.env
with proper configurations - Build an image from Dockerfile
docker build -t=rc-api .
- Run
docker run -p 80:80 -d rc-api
- Access the system from the browser at http://xxx/rc-api/index.php
- Update the apache configuration so that the system could be accessed from the base IP http://xxx
- Mount the system temporary folder to the host folder to preserve the temporary files and logs
- Currently system is run using root, need to use appropriate users for running the servers and applications.