Some checks failed
CI / test-and-build (push) Failing after 25s
Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
635 B
YAML
30 lines
635 B
YAML
# Lightweight edge reverse proxy for git.tloto.net (and later tloto.net).
|
|
# Until DNS points here, Gitea remains reachable on :3000 directly.
|
|
services:
|
|
edge:
|
|
image: nginx:1.27-alpine
|
|
container_name: tloto_edge
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- ./certs:/etc/nginx/certs:ro
|
|
- certbot-www:/var/www/certbot:ro
|
|
networks:
|
|
- edge-net
|
|
- gitea-net
|
|
profiles:
|
|
- edge
|
|
|
|
networks:
|
|
edge-net:
|
|
name: tloto-edge-net
|
|
gitea-net:
|
|
external: true
|
|
name: tloto-gitea-net
|
|
|
|
volumes:
|
|
certbot-www:
|