···2233Code and configuration to create a network-local development environment. It uses tailscale and can be used to have shared isolated infrastructure that can be used to support individuals and teams.
4455-## Configuration
55+***Note***: When developing against this network-local development environment using the configured nameserver and PLC instance, you will not be able to mix pyroclastic.cloud identities and external identities unless you take steps to resolve against ***both*** the local PLC instance (`https://plc.internal.ts.net`) as well as `https://plc.directory`.
66+77+## Requirements
6899+* Docker Compose
1010+* Tailscale
1111+ * DNS enabled
1212+ * HTTPS enabled
1313+ * The name of your tailnet (i.e. `sneaky-fox.ts.net`)
714815## Operation
9161010-1. Configure and start the PLC service. See plc/README.md
1717+1. Clone this repository
11181212-2. Configure and start the PDS service. See pds/README.md
1919+2. Configure and start the PLC service. See plc/README.md
13201414-3. Configure and start the DNS service. See dns/README.md
2121+3. Configure and start the PDS service. See pds/README.md
15221616-4. Configure split-DNS in Tailscale.
2323+4. Configure and start the DNS service. See dns/README.md
2424+2525+5. Configure split-DNS in Tailscale.
17261827 1. Visit https://tailscale.com/
1928 2. Go to the Machines tab and get the internal IP address of `didadmin`
2029 2. Go to the DNS configuration page
2130 3. Add a nameserver and select "Custom"
2231 4. Enter the IP address of the `didadmin`, select "Restrict to domain (Split DNS)", and set the domain to "pyroclastic.cloud"
3232+3333+## Usage
3434+3535+The following services are now available:
3636+3737+* PLC - https://plc.internal.ts.net
3838+* PDS - https://pds.internal.ts.net
3939+* DNS - didadmin.internal.ts.net:53
4040+* didadmin - https://didadmin.internal.ts.net
4141+* maildev - http://pds.internal.ts.net:1080
4242+4343+When configuration applications for local/local-network development, use the following configuration:
4444+4545+```
4646+NAMESERVERS=100.100.100.100
4747+PLC_HOSTNAME=https://plc.internal.ts.net
4848+```
23492450## Maintenance
2551
+4-3
dns/README.md
···7788## Configuration
991010-This service makes API calls to the local PDS and also exists on a tailscale network. Please make note of any `PLACEHOLDER` and `OPTIONAL` strings in the following files:
1010+This service makes API calls to the local PDS and also exists on a tailscale network.
11111212-In `./docker-compose.yml`:
1212+Copy `docker-compose.example.yml` to `docker-compose.yml` and make the following changes:
13131414* Set the `PDS_ADMIN_PASSWORD` environment variable to your PDS admin password.
1515* Set the `PDS_HOSTNAME` to the internal hostname of your PDS. (i.e. `pds.sneaky-fox.ts.net`)
1616* Optionally, if you are not using the `pyroclastic.cloud` domain (it's fine to leave this as-is) then change that.
1717+* Optional, set the `TS_AUTHKEY` if you are using one.
17181819## Operation
1920···25262627 `docekr compose up tailscale -d`
27282828- If you are using dynamic node registration, you'll need to view the logs and click on the link.
2929+ If you are using dynamic machine authentication, you'll need to view the logs and click on the link.
29303031 `docker compose logs tailscale`
3132
···1414* `PDS_DID_PLC_URL` value updated to relflect your internal tailnet
1515* Optionally, if you are not using the `pyroclastic.cloud` domain (it's fine to leave this as-is) then change that.
16161717+Copy `docker-compose.example.yml` to `docker-compose.yml` and make the following changes:
1818+1919+* Optional, set the `TS_AUTHKEY` if you are using one.
2020+1721## Operation
182219231. Create the configuration file and update it accordingly.
···22262327 `docekr compose up tailscale -d`
24282525- If you are using dynamic node registration, you'll need to view the logs and click on the link.
2929+ If you are using dynamic machine authentication, you'll need to view the logs and click on the link.
26302731 `docker compose logs tailscale`
2832
···11# PLC
2233+## Configuration
44+55+Copy `docker-compose.example.yml` to `docker-compose.yml` and make the following changes:
66+77+* Optional, set the `TS_AUTHKEY` if you are using one.
88+99+## Operation
1010+311To start a PLC server, you must build a container from the PLC repository.
4125131. First, clone https://github.com/did-method-plc/did-method-plc
···14221523 `docekr compose up tailscale -d`
16241717- If you are using dynamic node registration, you'll need to view the logs and click on the link.
2525+ If you are using dynamic machine authentication, you'll need to view the logs and click on the link.
18261927 `docker compose logs tailscale`
2028