···23Code 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.
45-## Configuration
0060000078## Operation
910-1. Configure and start the PLC service. See plc/README.md
1112-2. Configure and start the PDS service. See pds/README.md
1314-3. Configure and start the DNS service. See dns/README.md
1516-4. Configure split-DNS in Tailscale.
001718 1. Visit https://tailscale.com/
19 2. Go to the Machines tab and get the internal IP address of `didadmin`
20 2. Go to the DNS configuration page
21 3. Add a nameserver and select "Custom"
22 4. Enter the IP address of the `didadmin`, select "Restrict to domain (Split DNS)", and set the domain to "pyroclastic.cloud"
000000000000000002324## Maintenance
25
···23Code 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.
45+***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`.
6+7+## Requirements
89+* Docker Compose
10+* Tailscale
11+ * DNS enabled
12+ * HTTPS enabled
13+ * The name of your tailnet (i.e. `sneaky-fox.ts.net`)
1415## Operation
1617+1. Clone this repository
1819+2. Configure and start the PLC service. See plc/README.md
2021+3. Configure and start the PDS service. See pds/README.md
2223+4. Configure and start the DNS service. See dns/README.md
24+25+5. Configure split-DNS in Tailscale.
2627 1. Visit https://tailscale.com/
28 2. Go to the Machines tab and get the internal IP address of `didadmin`
29 2. Go to the DNS configuration page
30 3. Add a nameserver and select "Custom"
31 4. Enter the IP address of the `didadmin`, select "Restrict to domain (Split DNS)", and set the domain to "pyroclastic.cloud"
32+33+## Usage
34+35+The following services are now available:
36+37+* PLC - https://plc.internal.ts.net
38+* PDS - https://pds.internal.ts.net
39+* DNS - didadmin.internal.ts.net:53
40+* didadmin - https://didadmin.internal.ts.net
41+* maildev - http://pds.internal.ts.net:1080
42+43+When configuration applications for local/local-network development, use the following configuration:
44+45+```
46+NAMESERVERS=100.100.100.100
47+PLC_HOSTNAME=https://plc.internal.ts.net
48+```
4950## Maintenance
51
+4-3
dns/README.md
···78## Configuration
910-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:
1112-In `./docker-compose.yml`:
1314* Set the `PDS_ADMIN_PASSWORD` environment variable to your PDS admin password.
15* Set the `PDS_HOSTNAME` to the internal hostname of your PDS. (i.e. `pds.sneaky-fox.ts.net`)
16* Optionally, if you are not using the `pyroclastic.cloud` domain (it's fine to leave this as-is) then change that.
01718## Operation
19···2526 `docekr compose up tailscale -d`
2728- If you are using dynamic node registration, you'll need to view the logs and click on the link.
2930 `docker compose logs tailscale`
31
···78## Configuration
910+This service makes API calls to the local PDS and also exists on a tailscale network.
1112+Copy `docker-compose.example.yml` to `docker-compose.yml` and make the following changes:
1314* Set the `PDS_ADMIN_PASSWORD` environment variable to your PDS admin password.
15* Set the `PDS_HOSTNAME` to the internal hostname of your PDS. (i.e. `pds.sneaky-fox.ts.net`)
16* Optionally, if you are not using the `pyroclastic.cloud` domain (it's fine to leave this as-is) then change that.
17+* Optional, set the `TS_AUTHKEY` if you are using one.
1819## Operation
20···2627 `docekr compose up tailscale -d`
2829+ If you are using dynamic machine authentication, you'll need to view the logs and click on the link.
3031 `docker compose logs tailscale`
32
···14* `PDS_DID_PLC_URL` value updated to relflect your internal tailnet
15* Optionally, if you are not using the `pyroclastic.cloud` domain (it's fine to leave this as-is) then change that.
16000017## Operation
18191. Create the configuration file and update it accordingly.
···2223 `docekr compose up tailscale -d`
2425- If you are using dynamic node registration, you'll need to view the logs and click on the link.
2627 `docker compose logs tailscale`
28
···14* `PDS_DID_PLC_URL` value updated to relflect your internal tailnet
15* Optionally, if you are not using the `pyroclastic.cloud` domain (it's fine to leave this as-is) then change that.
1617+Copy `docker-compose.example.yml` to `docker-compose.yml` and make the following changes:
18+19+* Optional, set the `TS_AUTHKEY` if you are using one.
20+21## Operation
22231. Create the configuration file and update it accordingly.
···2627 `docekr compose up tailscale -d`
2829+ If you are using dynamic machine authentication, you'll need to view the logs and click on the link.
3031 `docker compose logs tailscale`
32
···1# PLC
2000000003To start a PLC server, you must build a container from the PLC repository.
451. First, clone https://github.com/did-method-plc/did-method-plc
···1415 `docekr compose up tailscale -d`
1617- If you are using dynamic node registration, you'll need to view the logs and click on the link.
1819 `docker compose logs tailscale`
20
···1# PLC
23+## Configuration
4+5+Copy `docker-compose.example.yml` to `docker-compose.yml` and make the following changes:
6+7+* Optional, set the `TS_AUTHKEY` if you are using one.
8+9+## Operation
10+11To start a PLC server, you must build a container from the PLC repository.
12131. First, clone https://github.com/did-method-plc/did-method-plc
···2223 `docekr compose up tailscale -d`
2425+ If you are using dynamic machine authentication, you'll need to view the logs and click on the link.
2627 `docker compose logs tailscale`
28