1.2 KiB
1.2 KiB
Portainer deployment notes
Generated from the current Kubernetes deployment in namespace discord-bots. Secret values are in the local portainer-*.env files.
Kubernetes source
- Deployment:
goff - Replicas:
1 - Rolling update: maxSurge
1, maxUnavailable1 - minReadySeconds:
120 - Labels/selectors:
app=goff - Image pull secrets:
none required for Portainer stack
Containers
pgbouncer: imagetimoha/pgbouncer:1.15.0; env: DATABASE_URL, SERVER_TLS_SSLMODE, AUTH_TYPE; ports: 5432; requests: {'cpu': '500m', 'memory': '256Mi'}; limits: {'cpu': '1', 'memory': '512Mi'}goff: imagegitea.wayfinderak.com/wayfinderak/goff:latest; env: DATABASE_URL, DISCORDGO_TOKEN, GOFF_EMAIL_USERNAME, GOFF_EMAIL_PASSWORD; ports: none; requests: {'cpu': '1', 'memory': '512Mi'}; limits: {'cpu': '2', 'memory': '1Gi'}
Portainer files
portainer-stack.yml- Docker Compose stack to paste/use in Portainer.portainer-app.env- bot runtime secrets/env.
Portainer database connection
This Portainer stack does not include pgbouncer. DATABASE_URL in portainer-app.env points directly at the external PostgreSQL service copied from the Kubernetes pgbouncer upstream URL.