Added compose file

This commit is contained in:
2026-02-15 19:16:58 +01:00
parent 96ab29b481
commit 39f2133d3a

27
docker-compose.yml Normal file
View File

@@ -0,0 +1,27 @@
services:
gitea:
image: gitea/gitea:latest
container_name: gitea
restart: unless-stopped
depends_on:
- gitea-log-relay
ports:
- "3000:3000" # web UI
- "2222:22" # SSH
volumes:
- ./gitea-data:/data
- ./logsock:/logsock
environment:
- USER_UID=1000
- USER_GID=1000
gitea-log-relay:
image: node:24-alpine
container_name: gitea-log-relay
restart: unless-stopped
working_dir: /app
volumes:
- ./log-relay:/app
- ./logsock:/logsock
command: ["node", "app.mjs"]