-
A easy to install set of Table Top RPG Tools to help DM
- Dungeon Revealer - Uses images to display dungeon and battle maps with fog of war
- Improved Initiative - Combat tracker for Dungeons and Dragons (D&D) 5th Edition
- Paragon - Configurable DM screen to use when running a tabletop RPGs
-
Other Software/Services Used
- Docker & Docker-compose - Package Software into Standardized Units for Development, Shipment and Deployment
- Terraform - An open-source infrastructure as code software tool
- Let's Encrypt - A free ssl service
- MongoDB - A general purpose, document-based, distributed database
- AWS - Amazon Cloud Services
- Local Docker Build
- Docker Mac Install Linux Install
- Docker Compose Mac & Linux Install
- AWS Build
- Terraform Mac Install Linux Install
- AWS Cli Mac Install Linux Install
-
Clone recursively
git clone --recursive
(git 1+)git clone --recurse-submodules
(git 2+)
-
Copy over the .env.sample to .env and configure your settings.
- See Env file options for options
-
AWS Build
-
Local Build
- You can build using make, bash or Manually. Only one method needs to be used.
- Make build
make build
- Scripted Build
bash set-up.sh build
- Manual Build
- Build and Bring the docker-compose environment up
sudo docker-compose up -d --build
- Then create or update your ssl certs
sudo docker exec nginx bash /var/www/certbot.sh
- Build and Bring the docker-compose environment up
- Make build
- If you want to use localhost or the machine's IP add entries into your hosts file or DNS.
- Example using localhost:
- You can build using make, bash or Manually. Only one method needs to be used.
127.0.0.1 localhost dungeon-revealer.localdomain improved-initiative.localdomain paragon.localdomain
- Localhost and SSL
- Let's Encrypt SSL does not work with localhost as Let's Encrypt needs to hit a publically accessiable IP and hostname.
- The default SSLs generated by nginx can work if you accept them and add them to your browser.
DOMAIN
- The domain all the hosts will bind tooDOMAIN_EMAIL
- The Email address Let's Encrypt will notify you when the ssl is about to expireDR_HOST
- The hostname for Dungeon RevealerDR_HOST_CN
- The hostname for Dungeon RevealerII_HOST
- The hostname for Improved InitiativeII_HOST_CN
- The hostname for Improved InitiativePA_HOST
- The hostname for ParagonPA_HOST_CN
- The hostname for ParagonSSL
-nossl
to not use ssl andssl
to use sslHTACCESS
-yes
to set-up auth with separate player and gm password andno
to not set-up authHT_USER
- The name the players will use to loginDR_USER_PASS
- The password the players will use to loginHT_DM_USER
- The name the DM will use to loginDR_DM_PASS
- The password the DM will use to loginMONGO_INITDB_ROOT_USERNAME
- Name for root user of Mongo dbMONGO_INITDB_ROOT_PASSWORD
- Password for root user of Mongo dbRESOLVER
-127.0.0.11
for Docker Build or10.0.0.2
for AWS Build
make install
,make build
,bash set-up.sh build
- Builds the environment
make restart
,bash set-up.sh restart
- Restarts all built containers
make ssl
,bash set-up.sh ssl
- Runs the certbot script
make destroy
,bash destroy.sh
- This script will prompt you to:
- Stop all containers
- Destroy all containers
- Destroy all Volumes
- This script will prompt you to:
- Login to container
sudo docker exec -it [<container_hostname>] bash
- Get logs of container
sudo docker-compose logs -f [<container_name>]
- Show all containers
sudo docker-compose ps
- Build and start containers
sudo docker-compose up -d --build
- Stop all containers
sudo docker-compose kill
- Delete inactive containers
sudo docker system prune -a -f
- Remove volumes
sudo docker volume prune -f