add gitea

This commit is contained in:
2024-10-10 21:07:21 +03:00
parent af04386ec3
commit cefc6d141c
2 changed files with 41 additions and 0 deletions

View File

@@ -142,6 +142,28 @@ services:
parallelism: 1
order: start-first
server:
image: gitea/gitea:1.22.3
volumes:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
environment:
- USER_UID=1000
- USER_GID=1000
deploy:
mode: replicated
placement:
constraints: [node.role == manager]
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
volumes:
minio_data:
driver: local