Browse Source

Gitea server

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

3
gitea/.gitignore

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

0
gitea/data/.keep

27
gitea/docker-compose.yml

@ -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