- Added a GitHub Actions workflow for building and releasing the web application on version tag pushes. - Introduced Python and JavaScript scripts for release metadata generation, validation, and smoke testing of the web release image. - Updated .gitignore to include new artifacts and Python cache directories. - Created Docker Compose configuration for deploying the web application with environment variable management. - Enhanced documentation for deployment instructions and usage of the official web release image.
16 lines
472 B
YAML
16 lines
472 B
YAML
name: nyaterm
|
|
|
|
services:
|
|
nyaterm:
|
|
image: ${NYATERM_WEB_IMAGE:-ghcr.io/nyakang/nyaterm-web:latest}
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
NYATERM_WEB_PASSWORD: ${NYATERM_WEB_PASSWORD:?Set a random login password of at least 32 characters}
|
|
NYATERM_WEB_ENCRYPTION_KEY: ${NYATERM_WEB_ENCRYPTION_KEY:?Set a persistent base64-encoded 32-byte encryption key}
|
|
volumes:
|
|
- nyaterm-data:/data
|
|
restart: unless-stopped
|
|
volumes:
|
|
nyaterm-data:
|