Skip to content

Commit

Permalink
Update docker compose files.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby committed May 11, 2019
1 parent fdff464 commit 3a502db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 6 additions & 3 deletions docker-compose-3.x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a502db

Please sign in to comment.