Sanitized mirror from private repository - 2026-03-08 09:25:17 UTC
Some checks failed
Documentation / Build Docusaurus (push) Failing after 9s
Documentation / Deploy to GitHub Pages (push) Has been skipped

This commit is contained in:
Gitea Mirror Bot
2026-03-08 09:25:17 +00:00
commit ba3595e6a7
1161 changed files with 297473 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
version: '3.9'
# retro.vish.gg - Cyberpunk iPod Zone
# Clones Vish/retro_site dist/ on startup and serves it via nginx.
#
# Auto-deploy: pushes to Vish/retro_site trigger retro-webhook (retro-webhook/)
# which runs `docker exec` to refresh files without restarting this container.
#
# Manual redeploy: docker rm -f retro-site && docker compose up -d
services:
retro-site:
image: nginx:alpine
container_name: retro-site
restart: unless-stopped
ports:
- '8025:80'
volumes:
- site-data:/usr/share/nginx/html
entrypoint:
- sh
- -c
- |
apk add --no-cache git
rm -rf /usr/share/nginx/html/*
git clone --depth 1 https://52fa6ccbe2cc9bee7461d8c9488e22e8d33842ca@git.vish.gg/Vish/retro_site.git /tmp/site
cp -r /tmp/site/dist/* /usr/share/nginx/html/
cp /tmp/site/nginx.conf /etc/nginx/conf.d/default.conf
rm -rf /tmp/site
nginx -g 'daemon off;'
healthcheck:
test: ['CMD', 'wget', '-q', '--spider', 'http://localhost/']
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
volumes:
site-data: