2023-10-14 00:20:49 +02:00
|
|
|
---
|
|
|
|
|
2023-12-21 22:13:43 +01:00
|
|
|
# Name of the instance
|
|
|
|
instance: boardgame-manager
|
2023-10-14 00:20:49 +02:00
|
|
|
|
2023-12-21 22:13:43 +01:00
|
|
|
bgm:
|
2023-10-14 00:20:49 +02:00
|
|
|
|
|
|
|
# Image to use
|
2024-05-03 10:56:12 +02:00
|
|
|
image: '[[ .docker.repo ]]boardgame-manager:24.5-1'
|
2023-10-14 00:20:49 +02:00
|
|
|
|
|
|
|
# Resource allocation for the container
|
|
|
|
resources:
|
|
|
|
cpu: 20
|
|
|
|
memory: 192
|
|
|
|
|
|
|
|
# Additional env var
|
|
|
|
env: {}
|
|
|
|
|
|
|
|
# Boardgame manager needs a volume to store its SQLite DB
|
2023-10-27 15:52:33 +02:00
|
|
|
# And an optional volume for backups of the DB
|
2023-10-14 00:20:49 +02:00
|
|
|
volumes:
|
|
|
|
data:
|
|
|
|
type: csi
|
2023-10-27 15:52:33 +02:00
|
|
|
source: bgm-data
|
|
|
|
backup:
|
|
|
|
type: csi
|
|
|
|
source: bgm-backup
|
|
|
|
|
2023-10-14 00:20:49 +02:00
|
|
|
|
|
|
|
# Public URL where the app will be exposed
|
|
|
|
public_url: https://bgm.example.org
|
|
|
|
|
2024-01-26 22:30:40 +01:00
|
|
|
# Traefik settings
|
|
|
|
traefik:
|
2024-01-26 23:32:12 +01:00
|
|
|
csp:
|
|
|
|
img-src: "'self' data: https://www.gravatar.com"
|
2024-01-26 22:30:40 +01:00
|
|
|
|
2023-10-27 15:52:33 +02:00
|
|
|
backup:
|
|
|
|
enabled: false
|
|
|
|
image: '[[ .docker.repo ]][[ .docker.base_images.sqlite.image ]]'
|
|
|
|
cron: '15 19 * * *'
|
|
|
|
resources:
|
|
|
|
cpu: 10
|
|
|
|
memory: 32
|
|
|
|
|