Update comfigs for best practices

This commit is contained in:
2026-04-08 16:06:17 -07:00
parent f7d08333f1
commit 33df798c30
18 changed files with 411 additions and 115 deletions

View File

@@ -1,6 +1,6 @@
services:
gitea:
image: gitea/gitea:latest
image: gitea/gitea:1.25.5
container_name: gitea
restart: unless-stopped
environment:
@@ -10,8 +10,18 @@ services:
volumes:
- /mnt/storage/apps/gitea/data:/data
ports:
- "3000:3000"
- "2223:22"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
deploy:
resources:
limits:
memory: 1G
cpus: '1.0'
networks:
- network
networks: