gitea setup
This commit is contained in:
8
gitea/.env.example
Normal file
8
gitea/.env.example
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Gitea uses SQLite by default (sufficient for single user)
|
||||||
|
GITEA__database__DB_TYPE=sqlite3
|
||||||
|
|
||||||
|
# Server
|
||||||
|
GITEA__server__ROOT_URL=https://git.t-gstone.de
|
||||||
|
GITEA__server__SSH_DOMAIN=git.t-gstone.de
|
||||||
|
GITEA__server__SSH_PORT=2222
|
||||||
|
GITEA__server__SSH_LISTEN_PORT=2222
|
||||||
17
gitea/docker-compose.yml
Normal file
17
gitea/docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
services:
|
||||||
|
gitea:
|
||||||
|
image: gitea/gitea:latest-rootless
|
||||||
|
container_name: gitea
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file: .env
|
||||||
|
volumes:
|
||||||
|
- ${DATA_ROOT}/gitea/data:/var/lib/gitea
|
||||||
|
- ${DATA_ROOT}/gitea/config:/etc/gitea
|
||||||
|
ports:
|
||||||
|
- "2222:2222"
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user