Aggiunto file docker compose

This commit is contained in:
piccihud
2024-05-13 08:32:46 +02:00
parent 4754d4353d
commit 3ef4099e2b
12 changed files with 210 additions and 0 deletions

1
gitea/.env Normal file
View File

@ -0,0 +1 @@

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

@ -0,0 +1,23 @@
services:
gitea:
image: gitea/gitea:latest
env_file: .env
container_name: gitea
restart: unless-stopped
environment:
- USER_UID=102
- USER_GID=109
networks:
- gitea
volumes:
- ./gitea:/data
- /home/git/.ssh/:/data/git/.ssh
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3006:3000"
- "2222:22"
networks:
gitea:
external: false