The PIES Studio application deployment engine
170
The PIES Studio Deployment Engine is a standalone service responsible for deploying generated applications to cloud environments. It currently supports Google Cloud Platform (GCP) deployments using a service account authentication method and will support additional cloud providers in future versions.
This image is intended to be used as part of the full PIES Studio Docker Compose stack. It is responsible for:
The container expects a set of mounted configuration files and environment variables to function correctly.
You must mount these files into the container as shown below:
volumes:
- ./config/deployer/config.json:/deployer/config/config.json:ro
- ./config/deployer/service_account_config.json:/deployer/config/config.cloud.json:ro
{
"project_path": "/deployer/generated/",
"url": {
"core": "http://host.docker.internal:8080/core"
},
"loki": {
"ws": "ws://host.docker.internal:9090/loki/socket/",
"http": "http://host.docker.internal:9010/loki/"
}
}
project_path: Path to the mounted volume containing generated code.url.core: URL to the PIES Studio Core server.loki.ws / loki.http: WebSocket and HTTP endpoints for the code generation engine used during deployment.This is the GCP Service Account key file used to authenticate with Google Cloud services. You can generate it from the Google Cloud Console as a JSON key. For guidance, refer to the "Preparing Your Deployment Environment" section in the documentation.
| Variable | Description |
|---|---|
CONFIG_PATH | Path to the mounted deployment engine config file (e.g., /deployer/config/config.json) |
CLOUD_CONFIG_PATH | Path to the mounted cloud credentials file (e.g., /deployer/config/config.cloud.json) |
ENVIRONMENT | Runtime environment (e.g., offline, production) |
DOCKER_HOST | Docker-in-Docker daemon host, typically tcp://docker:2376 |
DOCKER_CERT_PATH | Path to mounted Docker client certificates for secure registry operations |
DOCKER_TLS_VERIFY | Set to enable to use TLS with Docker daemon |
Example environment configuration:
environment:
- CONFIG_PATH=/deployer/config/config.json
- CLOUD_CONFIG_PATH=/deployer/config/config.cloud.json
- ENVIRONMENT=offline
- DOCKER_HOST=tcp://docker:2376
- DOCKER_CERT_PATH=/certs/client/
- DOCKER_TLS_VERIFY=enable
| Host Path | Container Path | Purpose |
|---|---|---|
./generated/ | /deployer/generated/ | Stores the application codebase |
./config/deployer/config.json | /deployer/config/config.json | Application-specific configuration |
./config/deployer/service_account_config.json | /deployer/config/config.cloud.json | GCP credentials as JSON |
./certs/client/ | /certs/client/ | TLS certificates for Docker Engine |
Currently supported:
Google Cloud Platform (GCP)
Upcoming support:
This container requires the pies-studio-dind (Docker-in-Docker) container to be running and accessible via the DOCKER_HOST.
Make sure that the GCP service account has the required IAM roles:
Kubernetes Engine AdminArtifact Registry AdministratorCompute Network AdminService Account UserStorage Admin© 2025 PIES Studio. All rights reserved.
Content type
Image
Digest
sha256:63433b483…
Size
120 MB
Last updated
about 1 year ago
docker pull piesio/pies-studio-deployer:offline