remove contrib dir
D contrib/Dockerfile
@@ -1,22 +0,0 @@ -FROM golang:1.24-alpine AS builder - -WORKDIR /app - -COPY . . -RUN go mod download -RUN go mod verify - -RUN go build -o elgit - -FROM scratch AS build-release-stage - -WORKDIR /app - -COPY static ./static -COPY templates ./templates -COPY config.yaml ./ -COPY --from=builder /app/elgit ./ - -EXPOSE 5555 - -CMD ["./elgit"]
D contrib/docker-compose.yml
@@ -1,14 +0,0 @@ -services: - elgit: - container_name: elgit - build: - context: ../ - dockerfile: contrib/Dockerfile - restart: unless-stopped - ports: - - "5555:5555" - volumes: - - /var/www/git:/var/www/git - - ../config.yaml:/app/config.yaml - - ../static:/app/static - - ../templates:/app/templates
D contrib/elgit.service
@@ -1,17 +0,0 @@ -[Unit] -Description=elgit Server -After=network-online.target -Requires=network-online.target - -[Service] -User=git -Group=git -ExecStart=/usr/bin/elgit -config /etc/elgit/config.yaml -ProtectSystem=strict -ProtectHome=strict -NoNewPrivileges=true -PrivateTmp=true -PrivateDevices=true - -[Install] -WantedBy=multi-user.target