mirror of
https://github.com/Portabase/agent.git
synced 2026-09-10 10:08:01 +00:00
a96cef6cb5
* fix: docker.yml * feat: add helm chart config * fix: helm config * feat: add .github workflow for helm chart --------- Co-authored-by: charlesgauthereau <charles.gauthereau@soluce-technologies.com>
48 lines
973 B
YAML
48 lines
973 B
YAML
replicaCount: 1
|
|
|
|
image:
|
|
repository: portabase/agent
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
|
|
env:
|
|
EDGE_KEY: "your_edge_key_here"
|
|
TZ: "UTC"
|
|
POLLING: "5"
|
|
APP_ENV: "production"
|
|
LOG: "info"
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 250m
|
|
memory: 256Mi
|
|
|
|
volume:
|
|
configFile:
|
|
enabled: true
|
|
hostPath: "" # Use host file if set, otherwise use `content`
|
|
content: | # JSON content for config.json if no hostPath
|
|
{
|
|
"databases": [
|
|
{
|
|
"name": "my-site-prod (readable name)",
|
|
"database": "devdb",
|
|
"type": "postgresql",
|
|
"host": "localhost",
|
|
"port": 5432,
|
|
"username": "admin_prod",
|
|
"password": "super_secure_password",
|
|
"generated_id": "550e8400-e29b-41d4-a716-446655440000"
|
|
}
|
|
]
|
|
}
|
|
|
|
|
|
network:
|
|
hostAliases:
|
|
- ip: "127.0.0.1"
|
|
hostnames:
|
|
- "localhost" |