Added compose file
This commit is contained in:
27
docker-compose.yml
Normal file
27
docker-compose.yml
Normal 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"]
|
||||
Reference in New Issue
Block a user