diff --git a/docker-setup.md b/docker-setup.md index 59702b3..70e83f5 100644 --- a/docker-setup.md +++ b/docker-setup.md @@ -1,4 +1,8 @@ -#### docker-compose.yaml +## docker-compose.yaml + +added multiple variable options, that requires a .env file (envirnment variable) + +``` services: jama: image: jama:${JAMA_VERSION:-latest} @@ -32,8 +36,12 @@ volumes: driver: local ${PROJECT_NAME:-jamachat}_uploads: driver: local +``` +## .env file -#### .env file +these are an example of a required .env. It can usually be imported in to docker managers. + +``` # jama Configuration # just another messaging app @@ -76,4 +84,4 @@ PORT=3069 DEFCHAT_NAME=General Chat APP_NAME=jama -PROJECT_NAME=myjamachat \ No newline at end of file +PROJECT_NAME=myjamachat ``` \ No newline at end of file