https://angeladuckworth.com/research/academic-diligence-task/
Per the installation instructions, you will need to create the
logs
folder and make it writable.
cd DTMathShared
mkdir logs
chmod 777 logs
Learn about docker and docker-compose for the benefits of containerization.
docker-compose up -d
It's preferrable to setup a reverse proxy to your docker services so that any middlware, such as SSL/TLS and Authorization/Access Control, can be easily applied independent of the application configuration.
e.g. for Apache
ProxyRequests Off
<Location "/">
ProxyPass "http://172.16.20.10/"
ProxyPassReverse "http://172.16.20.10/"
</Location>
Alternatively, you may expose the host port directly by defining
ports
within the nginx service inside docker-compose.yml
services:
nginx:
ports:
# ---- Format: ----
# [HOST-ADDR : ] HOST-PORT : DOCKER-PORT
- "80:80"