Aggiunto file docker compose
This commit is contained in:
1
gitea/.env
Normal file
1
gitea/.env
Normal file
@ -0,0 +1 @@
|
||||
|
23
gitea/docker-compose.yml
Normal file
23
gitea/docker-compose.yml
Normal 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
|
Reference in New Issue
Block a user