Skip to content

Instantly share code, notes, and snippets.

@antoinefink
Created November 8, 2024 14:01
Show Gist options
  • Save antoinefink/19fb5093fa205b5e47b83d29b337ca5b to your computer and use it in GitHub Desktop.
Save antoinefink/19fb5093fa205b5e47b83d29b337ca5b to your computer and use it in GitHub Desktop.
service: potato-analytics
image: antoinefink/potato-analytics
servers:
web:
- REDACTED
proxy:
ssl: false
host: potato.velism.com
app_port: 8080
healthcheck:
path: /
registry:
server: ghcr.io
username: antoinefink
password:
- KAMAL_REGISTRY_PASSWORD
builder:
arch:
- amd64
- arm64
env:
clear:
ENVIRONMENT: production
secret:
- API_KEY
- POSTGRES_PASSWORD
- DATABASE_URL
- DOMAIN
accessories:
postgresql:
image: ghcr.io/antoinefink/postgresql-hll:16-alpine
host: REDACTED
port: "5432:5432"
env:
clear:
POSTGRES_DB: potato
POSTGRES_USER: postgres
secret:
- POSTGRES_PASSWORD
directories:
- /kamal/potato-analytics/postgres_data:/var/lib/postgresql/data
- /kamal/potato-analytics/postgres_backups:/backups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment