Implementation Steps
-
Generate Authentication Credentials
On your local machine, generate a Dozzle user configuration with escaped dollar signs for Docker Compose:
This creates login credentials (username:
admin
, password:secret
) with automatic$
escaping for Docker Compose. The output is ready to paste directly into your configuration. -
Configure Dozzle in Docker Compose
Copy the output from step 1 and paste it into your docker-compose.yml:
The
configs
directive embeds the authentication data directly in docker-compose.yml without needing external files or additional containers. -
Access Protected Logs
Once deployed on Phala Cloud, Dozzle will be accessible at:
Replace
{app-id}
with your App ID and{node-name}
with your deployment target. You can also find the endpoint in your CVM’s View Details > Network > Endpoint section. Log in with the secrets (or whatever you set in step 1):- Username:
admin
- Password:
secret
- Username:
For production environments with advanced requirements, consider using the Loki and Grafana stack for centralized log aggregation, querying, and visualization.