(fix) volume paths changed to absolute
This commit is contained in:
@@ -12,6 +12,13 @@ services:
|
|||||||
- traefik-network
|
- traefik-network
|
||||||
restart: always
|
restart: always
|
||||||
stop_grace_period: 1m # Allow Gitea time to shut down gracefully
|
stop_grace_period: 1m # Allow Gitea time to shut down gracefully
|
||||||
|
|
||||||
|
# Standalone Compose resource limits (commonly honored by Docker Compose v2)
|
||||||
|
cpus: "1.0"
|
||||||
|
mem_limit: 2g
|
||||||
|
mem_reservation: 512m
|
||||||
|
pids_limit: 512
|
||||||
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/api/healthz"]
|
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/api/healthz"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -20,8 +27,8 @@ services:
|
|||||||
start_period: 200s
|
start_period: 200s
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/lib/gitea
|
- /home/knee-cola/docker/d-gitea/data:/var/lib/gitea
|
||||||
- ./config:/etc/gitea
|
- /home/knee-cola/docker/d-gitea/config:/etc/gitea
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user