Skip to content

Commit

Permalink
feat: 优化dockercompose 使得它可以直接读取env文件
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Sep 4, 2024
1 parent 647d76a commit 08a9a4f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# version: "3.3"
services:
autoread:
image: 14790897/auto-read:latest
container_name: auto-read
environment: # 设置环境变量(不要在.env文件中设置,docker不读取.env)
USERNAMES: "hahaha2,hahaha1,ha1,ha2,DrKBoogieWoogie,lsp,lsb"
PASSWORDS: "BfdSGt}F4!5pLHt,BfdSGt}F4!5pLHt,iTs9Wx4+3Eavkhk,W$RhQUVn5E?BBBq,]\"w%2Qd%M8Z6-SS,HU5B6Ee]kRB%Qj',uYE)46Ej8phu$#u"
WEBSITE: "https://linux.do" #目前支持 "https://meta.discourse.org","https://linux.do","https://meta.appinn.net","https://community.openai.com",
ENVIRONMENT: "production" #这个不需要改动
env_file:
- ./.env
restart: unless-stopped # 容器退出时重启策略

0 comments on commit 08a9a4f

Please sign in to comment.