mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 18:02:47 +08:00
chore(server): use localhost sub domain (#13012)
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 -->
This commit is contained in:
@@ -15,13 +15,7 @@ yarn affine cert --install
|
||||
|
||||
```bash
|
||||
# certificates will be located at `./.docker/dev/certs/${domain}`
|
||||
yarn affine cert --domain dev.affine.fail
|
||||
yarn affine cert --domain affine.localhost
|
||||
```
|
||||
|
||||
### 3. Enable dns and nginx service in compose.yml
|
||||
|
||||
### 4. Add custom dns server
|
||||
|
||||
```bash
|
||||
echo "nameserver 127.0.0.1" | sudo tee /etc/resolver/dev.affine.fail
|
||||
```
|
||||
### 3. Enable nginx service in compose.yml
|
||||
|
||||
Reference in New Issue
Block a user