add watchtower

This commit is contained in:
2025-10-25 13:27:43 +00:00
parent 905fa852a5
commit 57f4fbe9f3
15 changed files with 305 additions and 258 deletions

View File

@@ -8,8 +8,10 @@ networks:
services:
server:
image: gitea/gitea:1.24.6
image: gitea/gitea:1
container_name: gitea
labels:
- "com.centurylinklabs.watchtower.enable=true"
environment:
- USER_UID=${USER_UID}
- USER_GID=${USER_GID}
@@ -22,12 +24,12 @@ services:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
deploy:
resources:
limits:
memory: 1G
resources:
limits:
memory: 1G
act:
image: gitea/act_runner:0.2.11
image: gitea/act_runner:0.2.13
container_name: gitea_act
restart: unless-stopped
environment: