Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
23 lines
812 B
YAML
23 lines
812 B
YAML
# The 2021 site, frozen, at old.lucaswinther.info. Example payload for the config repo:
|
|
# server/homelab/old-site/docker-compose.yml, with archive/2021/ copied next to it as ./site
|
|
# (the archive is static files; refresh it with scripts/archive-old-site.sh). In the config
|
|
# repo change the volume to ./site. To look at it locally without proxy-net:
|
|
# docker run --rm -p 8081:80 -v "$PWD/archive/2021:/usr/share/nginx/html:ro" nginx:alpine
|
|
services:
|
|
old-site:
|
|
container_name: old-site
|
|
image: nginx:alpine
|
|
restart: unless-stopped
|
|
networks:
|
|
- proxy-net
|
|
environment:
|
|
VIRTUAL_HOST: old.lucaswinther.info
|
|
VIRTUAL_PORT: "80"
|
|
LETSENCRYPT_HOST: old.lucaswinther.info
|
|
volumes:
|
|
- ../archive/2021:/usr/share/nginx/html:ro
|
|
|
|
networks:
|
|
proxy-net:
|
|
external: true
|