ansible-role-gitea/templates/docker-compose.yaml.j2

16 lines
399 B
Django/Jinja

version: "3.8"
services:
server:
image: gitea/gitea:{{ gitea_vars['version'] }}-rootless
restart: always
volumes:
- ./data:/var/lib/gitea
- ./config:/etc/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "22:2222"
env_file: ./environment.env
user: "{{ git_user.uid }}:{{ git_user.group }}"