Files
eleith d647a9b24d
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
[web] add local production Docker workflow
2026-11-16 17:42:38 -08:00

467 lines
11 KiB
YAML

# yaml-language-server: $schema=../../../../packages/web/templates/config.schema.json
url:
app: http://localhost:8080
network:
internal:
explorer: ${LUZZLE_INTERNAL_EXPLORER_URL:-http://luzzle-dev-web:5173}
worker: ${LUZZLE_INTERNAL_WORKER_URL:-http://luzzle-dev-worker:9000}
auth:
secret: ${LUZZLE_AUTH_SECRET}
credentials:
username: admin
password: ${LUZZLE_AUTH_PASSWORD}
ai:
provider: google
api_key: ${GOOGLE_API_KEY}
storage:
root: ./archive
sync:
config: ./rclone/rclone.conf
archive:
remote: archive
path: ./remote
cdn:
remote: cdn
path: ./cdn
paths:
database: ./data/luzzle.sqlite
content:
text:
title: example luzzle site title
description: an example luzzle site description
pages:
home:
body: ./content/home.md
latest: true
random: true
feed:
about: ./content/feed-about.md
links: true
error:
'404':
body: ./content/error-404.md
home: false
'4xx':
body: ./content/error-4xx.md
home: true
'500':
body: ./content/error-500.md
home: true
pieces:
- type: books
templates:
icon:
name: book
mapping:
image: cover
author: author
pages: pages
page:
name: book
mapping:
image: cover
author: author
pages: pages
publicationYear: year_first_published
url: url
isbn: isbn
opengraph:
name: book
mapping:
image: cover
author: author
pages: pages
fields:
title: title
summary: description
date_consumed: date_read
tags: keywords
media:
- cover
- type: films
templates:
icon:
name: poster
mapping:
image: poster
page:
name: film
mapping:
image: poster
backdrop: backdrop
dateReleased: date_released
runtime: runtime
url: url
category: type
people: people
opengraph:
name: poster
mapping:
image: poster
backdrop: backdrop
director: director
dateReleased: date_released
runtime: runtime
fields:
title: title
summary: summary
date_consumed: date_viewed
tags: keywords
media:
- poster
- backdrop
- type: snippets
templates:
icon:
name: code-snippet
mapping:
files:
each: files
fields:
file: file
type: type
page:
name: snippet
mapping:
files:
each: files
fields:
file: file
name: name
format: format
type: type
dateUpdated: date_updated
opengraph:
name: code-snippet
mapping:
files:
each: files
fields:
file: file
type: type
format: format
fields:
title: title
summary: summary
date_consumed: date_added
tags: keywords
attachments:
- files[*].file
highlight:
- files[*].file
- type: words
templates:
icon:
name: lined-notebook-paper
page:
name: note
opengraph:
name: lined-notebook-paper
fields:
title: title
summary: summary
date_consumed: date_published
tags: keywords
media:
- representative_image
attachments:
- attachments
- type: articles
templates:
icon:
name: browser-window
mapping:
image: banner
url: url
page:
name: article
mapping:
image: banner
url: url
author: author
wordCount: word_count
datePublished: date_published
opengraph:
name: browser-window
mapping:
image: banner
url: url
author: author
wordCount: word_count
fields:
title: title
summary: summary
date_consumed: date_read
tags: keywords
media:
- banner
- type: recipes
templates:
icon:
name: recipe-card
mapping:
image: photo
ingredients:
each: ingredients
fields:
item: item
page:
name: recipe
mapping:
image: photo
url: url
ingredients:
each: ingredients
fields:
item: item
quantity: quantity
unit: unit
note: note
instructions:
each: instructions
fields:
text: text
prepMinutes: prep_minutes
cookMinutes: cook_minutes
totalMinutes: total_minutes
dateUpdated: date_updated
opengraph:
name: recipe-card
mapping:
image: photo
source: source
ingredients:
each: ingredients
fields:
item: item
prepMinutes: prep_minutes
cookMinutes: cook_minutes
totalMinutes: total_minutes
fields:
title: title
summary: summary
date_consumed: date_cooked
tags: keywords
media:
- photo
- type: music
templates:
icon:
name: vinyl-record
mapping:
image: cover
page:
name: music
mapping:
image: cover
artist: artist
durationSeconds: duration_seconds
album: album
dateReleased: date_released
language: language
collaborators: collaborators
url: url
opengraph:
name: vinyl-record
mapping:
image: cover
artist: artist
durationSeconds: duration_seconds
fields:
title: title
summary: summary
date_consumed: date_listened
tags: keywords
media:
- cover
- type: video-games
templates:
icon:
name: video-game-cartridge
mapping:
image: cover
page:
name: video-game
mapping:
image: cover
url: url
publisher: publisher
datePublished: date_published
playTimeMinutes: play_time_minutes
platform: platform
opengraph:
name: video-game-cartridge
mapping:
image: cover
publisher: publisher
platform: platform
playTimeMinutes: play_time_minutes
fields:
title: title
summary: summary
date_consumed: date_played
tags: keywords
media:
- cover
- type: tabletop-games
templates:
icon:
name: playing-cards
page:
name: tabletop-game
mapping:
image: cover
url: url
publisher: publisher
datePublished: date_published
playTimeMinutes: play_time_minutes
playerCount: player_count
opengraph:
name: playing-cards
mapping:
backdrop: cover
publisher: publisher
playTimeMinutes: play_time_minutes
fields:
title: title
summary: summary
date_consumed: date_played
tags: keywords
media:
- cover
- type: generic
fields:
title: title
summary: summary
date_consumed: date_added
tags: keywords
theme:
globals:
shadow-raised: 0px 3px 1px -2px rgba(0 0 0 / 20%), 0px 2px 2px 0px
rgba(0 0 0 / 14%), 0px 1px 5px 0px rgba(0 0 0 / 12%)
font-sans-name: '"Noto Sans"'
font-mono-name: '"monaco, monospace"'
font-sans-url: '"/fonts/noto-sans.woff2"'
font-sans-weight: 300 600
font-size-xxs: 0.7rem
font-size-xs: 0.825rem
font-size-small: 1rem
font-size-normal: 1.25rem
font-size-medium: 1.5rem
font-size-large: 1.825rem
font-size-xl: 2rem
font-size-xxl: 3rem
font-size-mobile-responsive-factor: 0.8
font-size-root: 22
font-weight-light: 300
font-weight-normal: 400
font-weight-medium: 500
font-weight-semibold: 550
font-weight-bold: 600
radius-none: '0'
radius-small: 0.25rem
radius-medium: 0.375rem
radius-large: 0.5rem
radius-xl: 0.75rem
radius-x2l: 1rem
radius-x3l: 1.5rem
radius-x4l: 2.5rem
radius-full: 9999px
breakpoint-phone: 640
breakpoint-tablet: 768
breakpoint-laptop: 1024
breakpoint-desktop: 1280
space-1: 0.25rem
space-2: 0.5rem
space-3: 0.75rem
space-4: 1rem
space-5: 1.25rem
space-6: 1.5rem
space-7: 1.75rem
space-8: 2rem
space-9: 2.25rem
space-10: 2.5rem
space-0-5: 0.125rem
space-1-5: 0.375rem
space-2-5: 0.625rem
space-3-5: 0.875rem
dark:
color-primary: '#60a5fa'
color-on-primary: '#1c1917'
color-primary-container: '#1e40af'
color-on-primary-container: '#dbeafe'
color-secondary: '#fbbf24'
color-on-secondary: '#1c1917'
color-secondary-container: '#92400e'
color-on-secondary-container: '#fef3c7'
color-tertiary: '#2dd4bf'
color-on-tertiary: '#1c1917'
color-tertiary-container: '#115e59'
color-on-tertiary-container: '#ccfbf1'
color-error: '#f87171'
color-on-error: '#1c1917'
color-error-container: '#991b1b'
color-on-error-container: '#fee2e2'
color-surface: '#1c1917'
color-surface-dim: '#0c0a09'
color-surface-bright: '#292524'
color-surface-inverse: '#fafaf9'
color-on-surface: '#fafaf9'
color-on-surface-variant: '#a8a29e'
color-on-surface-inverse: '#1c1917'
color-surface-container-lowest: '#0c0a09'
color-surface-container-low: '#1c1917'
color-surface-container: '#292524'
color-surface-container-high: '#44403c'
color-surface-container-highest: '#57534e'
color-shadow: hsla(0, 0%, 0%, 0.6)
color-outline: '#a8a29e'
color-outline-variant: '#44403c'
light:
color-primary: '#3b82f6'
color-on-primary: '#ffffff'
color-primary-container: '#dbeafe'
color-on-primary-container: '#1e40af'
color-secondary: '#d97706'
color-on-secondary: '#ffffff'
color-secondary-container: '#fef3c7'
color-on-secondary-container: '#92400e'
color-tertiary: '#0d9488'
color-on-tertiary: '#ffffff'
color-tertiary-container: '#ccfbf1'
color-on-tertiary-container: '#115e59'
color-error: '#dc2626'
color-on-error: '#ffffff'
color-error-container: '#fee2e2'
color-on-error-container: '#991b1b'
color-surface: '#fafaf9'
color-surface-dim: '#f5f5f4'
color-surface-bright: '#ffffff'
color-surface-inverse: '#292524'
color-on-surface: '#292524'
color-on-surface-variant: '#57534e'
color-on-surface-inverse: '#fafaf9'
color-surface-container-lowest: '#ffffff'
color-surface-container-low: '#fafaf9'
color-surface-container: '#f8f7f6'
color-surface-container-high: '#f5f4f2'
color-surface-container-highest: '#f2f0ee'
color-shadow: hsla(0, 0%, 0%, 0.2)
color-outline: '#78716c'
color-outline-variant: '#d6d3d1'
markdown:
code:
light: 'min-light'
dark: 'min-dark'