mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-03-26 09:08:41 +08:00
reduce dnsmasq service #### PR Dependency Tree * **PR #13012** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated instructions to use the domain `affine.localhost` instead of `dev.affine.fail`. * Simplified setup steps by removing references to DNS service configuration and custom DNS server entries. * **Chores** * Removed DNS server configuration and related files from the development environment setup. * Updated example descriptions to reflect the new domain. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
22 lines
406 B
Markdown
22 lines
406 B
Markdown
# Dev containers
|
|
|
|
## Develop with domain
|
|
|
|
> MacOs only, OrbStack only
|
|
|
|
### 1. Generate and install Root CA
|
|
|
|
```bash
|
|
# the root ca file will be located at `./.docker/dev/certs/ca`
|
|
yarn affine cert --install
|
|
```
|
|
|
|
### 2. Generate domain certs
|
|
|
|
```bash
|
|
# certificates will be located at `./.docker/dev/certs/${domain}`
|
|
yarn affine cert --domain affine.localhost
|
|
```
|
|
|
|
### 3. Enable nginx service in compose.yml
|