Skip to content

Commit

Permalink
deploy(docker): dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacker233 committed Jun 29, 2024
1 parent a47f287 commit 5d1e6cc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,19 @@ services:

networks:
webnet:

# 项目根目录执行
# docker-compose -f docker/docker-compose.yml up -d --build

# 重新启动服务
# docker-compose down
# docker-compose up -d --build


# 检查证书
# docker exec -it nginx-proxy bash
# ls /etc/nginx/certs/yourdomain.com

# 检查日志
# docker logs nginx-proxy
# docker logs letsencrypt-nginx-proxy-companion

0 comments on commit 5d1e6cc

Please sign in to comment.