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

23 lines
403 B
Django/Jinja

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