Added a gitea compose file

This commit is contained in:
2025-12-05 13:31:29 -05:00
parent 7e428fc6b5
commit 0677ddedee

20
gitea/compose.yml Normal file
View File

@@ -0,0 +1,20 @@
---
volumes:
gitea.vol:
services:
gitea:
image: docker.gitea.com/gitea:1.25.2
container_name: gitea
environment:
- USER_UID=$(id -u $USER)
- USER_GID=$(id -u $USER)
restart: always
networks:
- gitea
volumes:
- gitea.vol:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- 3000:3000
- 2222:2222