53 lines
1.0 KiB
YAML
53 lines
1.0 KiB
YAML
---
|
|
|
|
# Name of the instance
|
|
instance: boardgame-manager
|
|
|
|
bgm:
|
|
|
|
# Image to use
|
|
image: '[[ .docker.repo ]]boardgame-manager:24.1-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:
|
|
middlewares:
|
|
- compression@file
|
|
- csp-relaxed@file
|
|
csp:
|
|
default-src: "'self'"
|
|
img-src: "'self' data: https://www.gravatar.com"
|
|
script-src: "'self' 'unsafe-inline' 'unsafe-eval'"
|
|
style-src: "'self' 'unsafe-inline'"
|
|
font-src: "'self' data:"
|
|
|
|
backup:
|
|
enabled: false
|
|
image: '[[ .docker.repo ]][[ .docker.base_images.sqlite.image ]]'
|
|
cron: '15 19 * * *'
|
|
resources:
|
|
cpu: 10
|
|
memory: 32
|
|
|