https://github.com/xkcoding/happy-dev
https://github.com/xkcoding/happy-dev
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xkcoding/happy-dev
- Owner: xkcoding
- Created: 2021-04-23T06:40:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T11:59:42.000Z (over 4 years ago)
- Last Synced: 2025-02-03T15:55:40.334Z (11 months ago)
- Size: 26.4 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Happy 步骤:
1. 先运行ssl目录生成内网域名证书
2. 将证书拷贝到 traefik 目录下的 certs 目录,再运行 traefik 进行反向代理
3. 此时修改 hosts 文件,方便查看配置
4. 启动 dns-server,将本机 dns 指向 127.0.0.1,就可以把原先的 hosts 配置删掉了
5. 剩下的,想玩什么,到哪个目录下 `docker-compose up` 一下
备注:
- 默认内网域名是 *.dev.io,如果要切换,注意在每个目录下进行修改
- 如果存在 .env.sample 文件的,就先 `mv .env.sample .env`,再执行 `docker-compose up`