docker-compose.yml -> docker-compose.yaml

This commit is contained in:
2025-12-29 21:08:01 +00:00
parent 2d2dcff693
commit 392a1b0f44
15 changed files with 0 additions and 0 deletions

44
gitea/docker-compose.yaml Normal file
View File

@@ -0,0 +1,44 @@
networks:
gitea:
external: true
caddy:
name: caddy
driver: bridge
external: true
services:
server:
image: gitea/gitea:1
container_name: gitea
labels:
- "com.centurylinklabs.watchtower.enable=true"
environment:
- USER_UID=${USER_UID}
- USER_GID=${USER_GID}
restart: unless-stopped
networks:
- gitea
- caddy
volumes:
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
deploy:
resources:
limits:
memory: 1G
act:
image: gitea/act_runner:0.2.13
container_name: gitea_act
restart: unless-stopped
environment:
- GITEA_INSTANCE_URL=${GITEA_INSTANCE_URL}
- GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}
- GITEA_RUNNER_NAME=${GITEA_RUNNER_NAME}
- CONFIG_FILE=/data/config.yaml
networks:
- gitea
volumes:
- ./act-data:/data
- /var/run/docker.sock:/var/run/docker.sock