46 lines
828 B
YAML
46 lines
828 B
YAML
---
|
|
|
|
# Name of the instance
|
|
instance: boardgame-manager
|
|
|
|
bgm:
|
|
|
|
# Image to use
|
|
image: '[[ .docker.repo ]]boardgame-manager:24.5-1'
|
|
|
|
# Resource allocation for the container
|
|
resources:
|
|
cpu: 20
|
|
memory: 192
|
|
|
|
# Additional env var
|
|
env: {}
|
|
|
|
# Boardgame manager needs a volume to store its SQLite DB
|
|
# And an optional volume for backups of the DB
|
|
volumes:
|
|
data:
|
|
type: csi
|
|
source: bgm-data
|
|
backup:
|
|
type: csi
|
|
source: bgm-backup
|
|
|
|
|
|
# Public URL where the app will be exposed
|
|
public_url: https://bgm.example.org
|
|
|
|
# Traefik settings
|
|
traefik:
|
|
csp:
|
|
img-src: "'self' data: https://www.gravatar.com"
|
|
|
|
backup:
|
|
enabled: false
|
|
image: '[[ .docker.repo ]][[ .docker.base_images.sqlite.image ]]'
|
|
cron: '15 19 * * *'
|
|
resources:
|
|
cpu: 10
|
|
memory: 32
|
|
|