Skip to content

Instantly share code, notes, and snippets.

@yxeri
Created March 25, 2019 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yxeri/74dba82029d56899e187b1b1be06d106 to your computer and use it in GitHub Desktop.
Save yxeri/74dba82029d56899e187b1b1be06d106 to your computer and use it in GitHub Desktop.
Example Docker compose file for Rolehaven
db:
image: mongo
volumes:
- /data/db
app:
image: yxeri/roleterminal
environment:
- DBHOST=db
- "JSONKEY=key"
- MODE=prod
- VIRTUAL_HOST=example.thethirdgift.com
- USERVERIFY=false
- BYPASSEXTERNALCONNECTIONS=false
- DISABLEPOSITIONIMPORT=false
- "GMAPSKEY=key"
- "MAPLAYERSPATH=https://www.google.com/maps/d/kml?hl=en_US&app=mp&mid=1j97gNHqYj-6M10RbW9CGAVNxUV4&forcekml=1&cid=mp&cv=jm93Tu_hxIY.en_US."
- "TITLE=roleTerminal"
- MAINJSNAME=main
- MAINCSSNAME=main
- INDEXNAME=main
- DBNAME=latest
links:
- db
ports:
- "8888"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment