Files
folio/deploy/static.yml
T
Mateusz PstruchaandClaude Opus 5.5 3e18ceeb67 Single-page photo profile with justified grid
Astro site: profile header, Flickr-style justified rows that keep each
photo's aspect ratio, and a detail page per photo (date from EXIF or a
YAML sidecar, optional location) that opens in a dialog from the grid.

Originals are dropped from the build and CI fails if a published image
still carries EXIF location or capture time. Tags release folio-<ver>.tgz
and deploy it with ygg/static-server to ig.mtps.pl.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 20:06:20 +02:00

37 lines
1.2 KiB
YAML

---
# Static site: https://git.app.ygg/mtps/folio
#
# Deployed by .gitea/workflows/release.yml through ygg/actions/deploy
# (deploy/static playbook on kara).
#
# static_release is passed by the release workflow (-e static_release=1.2.3).
# For a manual run pass it the same way, there's deliberately no default here.
# Release assets are versioned (folio-<version>.tgz), and static-server only
# auto-detects *.tar.gz, so the asset is named explicitly.
static_stack_name: folio
domain: ig.mtps.pl
# /etc/nginx/certs/<cert>.conf on the nginx host
cert: mtps.pl
# static_service replaces the role default as a whole, so every key is required
static_service:
name: static
image: "{{ gitea_host }}/ygg/static-server:latest"
environment:
GITEA_REPOSITORY_URL: "https://{{ gitea_host }}/mtps/folio"
GITEA_RELEASE: "v{{ static_release }}"
GITEA_ASSET_NAME: "folio-{{ static_release }}.tgz"
SSL_CERT_FILE: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
volumes:
- /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem:/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem:ro
ports:
- target: 8080
published: 11904
protocol: tcp
mode: ingress
replicas: 3
restart_policy:
condition: on-failure