infra/playbooks/roles/gitea/templates/docker-compose.yml.j2

20 lines
332 B
Django/Jinja

version: "3"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:latest
restart: always
networks:
- gitea
volumes:
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "127.0.0.1:9966:3000"
- "0.0.0.0:222:22"