Files
homelab-docker-stacks/gitea/compose.yaml
T
lingkai5wu 6f18aa9c06 feat: add nginx reverse proxy stack
Add Nginx and acme.sh for centralized HTTPS termination and certificate management.

Move Gitea, Immich, and OpenList to the shared proxy network and remove their direct host port exposure.
2026-08-16 11:58:58 +08:00

24 lines
462 B
YAML

name: gitea
services:
server:
image: docker.gitea.com/gitea:1
container_name: gitea
volumes:
- /srv/data/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- USER_UID=1000
- USER_GID=1000
networks:
- proxy
restart: unless-stopped
deploy:
resources:
limits:
cpus: "1.0"
memory: 512M
networks:
proxy:
external: true