2023-03-09 11:28:17 +01:00
|
|
|
|
|
|
|
# ANSIBLE-MANAGED
|
|
|
|
#
|
|
|
|
# -- Diese Datei wird via Ansible verwaltet und automatisch überschrieben!
|
|
|
|
# https://azubi-gitea.int.sernet.de/mmeyer/ansible-role-gitea/src/branch/main/templates/docker-compose.yaml.j2
|
|
|
|
|
2023-02-06 12:50:22 +01:00
|
|
|
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:
|
2023-03-03 12:34:00 +01:00
|
|
|
- "127.0.0.1:3000:3000"
|
2023-02-06 12:50:22 +01:00
|
|
|
- "22:2222"
|
|
|
|
env_file: ./environment.env
|
|
|
|
user: "{{ git_user.uid }}:{{ git_user.group }}"
|