-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
6 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 |
---|---|---|
|
@@ -26,10 +26,13 @@ services: | |
- "8090:8090" | ||
expose: | ||
- "8090" | ||
env_file: | ||
- ./halo.env | ||
environment: | ||
- VIRTUAL_PORT=8090 | ||
- VIRTUAL_HOST=localhost # 你的博客地址(务必修改) | ||
- LETSENCRYPT_HOST=localhost # 你的博客地址 (务必修改) | ||
- [email protected] # 证书所有者的邮箱,快过期时会提醒(务必修改) | ||
volumes: | ||
- ~/halo:/root/halo | ||
- ~/.halo:/root/.halo | ||
|
||
docker-gen: | ||
image: jwilder/docker-gen | ||
|
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 |
---|---|---|
|
@@ -25,10 +25,8 @@ services: | |
- VIRTUAL_HOST=localhost # 你的博客地址(务必修改) | ||
- LETSENCRYPT_HOST=localhost # 你的博客地址 (务必修改) | ||
- [email protected] # 证书所有者的邮箱,快过期时会提醒(务必修改) | ||
- DB_USER=admin # h2数据库用户名,自定义(务必修改) | ||
- DB_PASSWORD=123456 # h2数据库密码,自定义(务必修改) | ||
volumes: | ||
- ~/halo:/root/halo | ||
- ~/.halo:/root/.halo | ||
|
||
docker-gen: | ||
restart: always | ||
|