Browse Source

Gitea server

master
Christian Aust 4 months ago
parent
commit
7f317dc537
3 changed files with 30 additions and 0 deletions
  1. +3
    -0
      gitea/.gitignore
  2. +27
    -0
      gitea/data/.keep

+ 3
- 0
gitea/.gitignore View File

@ -0,0 +1,3 @@
data/**/*
!data/.keep

+ 27
- 0
gitea/data/.keep View File

@ -0,0 +1,27 @@
version: "2"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:latest
restart: always
environment:
- APP_NAME=Gitea
- RUN_MODE=prod
- DOMAIN=git.software-berater.net
- LFS_START_SERVER=true
- DISABLE_REGISTRATION=true
- USER_UID=111
- USER_GID=117
networks:
- gitea
volumes:
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"

Loading…
Cancel
Save