浏览代码

Merge pull request #91 from joestump/main

Add docs for environment variables
lllllllillllllillll 1 年之前
父节点
当前提交
47c9ab68ce
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      README.md

+ 3 - 1
README.md

@@ -47,7 +47,6 @@ services:
     environment:
     environment:
       PORT: 8000
       PORT: 8000
       SECRET: MrWiskers
       SECRET: MrWiskers
-      HTTPS: false
     restart: unless-stopped
     restart: unless-stopped
     ports:
     ports:
       - 8000:8000
       - 8000:8000
@@ -77,7 +76,10 @@ Compose setup:
 * Open a terminal in the ```dweebui``` folder, then enter ```docker compose up -d```.
 * Open a terminal in the ```dweebui``` folder, then enter ```docker compose up -d```.
 * You may need to use ```docker-compose up -d``` or execute the command as root with either ```sudo docker compose up -d``` or ```sudo docker-compose up -d```.
 * You may need to use ```docker-compose up -d``` or execute the command as root with either ```sudo docker compose up -d``` or ```sudo docker-compose up -d```.
 
 
+Configuration:
 
 
+* `PORT` - Specifies which port the service binds to on startup. Default is `8000`.
+* `SECRET` - A shared secret used by the registration page.
 
 
 ## Credits
 ## Credits