docker-compose/gitea/docker-compose.yml

26 lines
507 B
YAML
Raw Normal View History

2024-05-13 08:32:46 +02:00
services:
gitea:
image: gitea/gitea:latest
env_file: .env
container_name: gitea
2024-12-26 15:03:19 +01:00
mem_limit: 1g
2024-12-26 15:26:42 +01:00
cpus: 0.4 # al max 40% cpu
2024-05-13 08:32:46 +02:00
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:
2024-12-24 20:58:18 +01:00
- 127.0.0.1:3006:3000
2024-12-24 21:03:02 +01:00
- 2222:22
2024-05-13 08:32:46 +02:00
networks:
gitea:
external: false