-
Notifications
You must be signed in to change notification settings - Fork 939
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify the restart policy of docker to
unless-stopped
(#295)
* “完善宝塔面板反向代理教程” * update reverse-proxy.md * Update reverse-proxy.md 修正图片路径 * Update reverse-proxy.md * Update bt_reverse_proxy.png * 新增docker-compose.yml 修改重启策略为unless-stopped * Revert "新增docker-compose.yml" This reverts commit 3785e79. * Modify the restart policy to 'unless-stopped' Added a new docker-compose.yml --------- Co-authored-by: hiqz <cncpu@qq.com> Co-authored-by: troray <binghe27@gmail.com>
- Loading branch information
1 parent
980346b
commit 70364e0
Showing
3 changed files
with
53 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: '3.3' | ||
services: | ||
alist: | ||
image: 'xhofe/alist:latest' | ||
container_name: alist | ||
volumes: | ||
- './:/opt/alist/data' | ||
ports: | ||
- '5244:5244' | ||
environment: | ||
- PUID=0 | ||
- PGID=0 | ||
- UMASK=022 | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters