Remove keys volume mount and add install script
- Remove /etc/provisioning/keys mount (ephemeral keys are in-memory now) - Remove /etc/provisioning VOLUME from Dockerfile - Add deploy/install.sh that creates config files before docker compose up, preventing Docker from creating directories in place of missing bind mounts - Update README with install script usage Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -38,18 +38,20 @@ No static SSH keys required — Provisioning generates ephemeral keys per rebuil
|
||||
### Setup
|
||||
|
||||
```bash
|
||||
mkdir -p /opt/provisioning
|
||||
cd /opt/provisioning
|
||||
|
||||
# Log in to the container registry
|
||||
docker login gitea.thewrightserver.net
|
||||
|
||||
# Pull the compose file
|
||||
curl -sO https://gitea.thewrightserver.net/josh/Provisioning/raw/branch/main/docker-compose.yml
|
||||
# Run the install script (creates /opt/provisioning with config templates)
|
||||
curl -sf https://gitea.thewrightserver.net/josh/Provisioning/raw/branch/main/deploy/install.sh | bash
|
||||
```
|
||||
|
||||
# Pull example configs
|
||||
curl -s https://gitea.thewrightserver.net/josh/Provisioning/raw/branch/main/deploy/provisioning.example.yaml -o provisioning.yaml
|
||||
curl -s https://gitea.thewrightserver.net/josh/Provisioning/raw/branch/main/deploy/server-types.example.yaml -o server-types.yaml
|
||||
Or manually:
|
||||
|
||||
```bash
|
||||
mkdir -p /opt/provisioning && cd /opt/provisioning
|
||||
curl -sfO https://gitea.thewrightserver.net/josh/Provisioning/raw/branch/main/docker-compose.yml
|
||||
curl -sf https://gitea.thewrightserver.net/josh/Provisioning/raw/branch/main/deploy/provisioning.example.yaml -o provisioning.yaml
|
||||
curl -sf https://gitea.thewrightserver.net/josh/Provisioning/raw/branch/main/deploy/server-types.example.yaml -o server-types.yaml
|
||||
```
|
||||
|
||||
### Configure
|
||||
|
||||
Reference in New Issue
Block a user