This commit is contained in:
krumel
2024-01-20 20:26:08 +00:00
parent f1e8c9aec0
commit fad036d559
16 changed files with 501 additions and 0 deletions

26
gitea/docker-compose.yml Normal file
View File

@ -0,0 +1,26 @@
version: "3"
services:
server:
image: gitea/gitea:latest
container_name: gitea
environment:
- USER_UID=2000
- USER_GID=2000
restart: always
networks:
- gitea
volumes:
- /srv/docker/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
# - /home/git/.ssh/:/data/git/.ssh
ports:
- "3300:3000"
- "3322:22"
networks:
gitea:
ipam:
config:
- subnet: 172.20.30.0/24