The DTP Sites web app development engine. https://digitaltelepresence.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1.1 KiB

Docker Support

Docker is only supported for use in development/local environments to emulate a production environment with scaled-out infrastructure. The Docker environment is defined and described in docker-compose.yml

The host services worker is required to be operating on each host. And, we tend to think of a Docker container as a "host" - but it's not. And, they can easily map a path to a path on the host's file system. So, we map /tmp/dtp on the host into each DTP container, and we point all DTP processes at one container running the host services worker. Do not emulate that topology in a production environment, it would defeat the purpose of the host services worker as an edge cache.

Initialize the Environment

docker-compose run sites-host-services node dtp-sites-cli.js --action=create-domain ourvoice.stream

Grand Admin Access

docker-compose run sites-host-services node dtp-sites-cli.js --action=grant --permission=admin [email address]

Start the Environment

docker-compose up -d

Stop the Environment

docker-compose down