37 lines
804 B
YAML
37 lines
804 B
YAML
# 2024-12-30 Hyperling
|
|
# Gitea self-hosted git server!
|
|
# https://hub.docker.com/r/gitea/gitea
|
|
# https://docs.gitea.com/installation/install-with-docker
|
|
|
|
# Takes nearly double the resources of Gogs.
|
|
# Has a nicer UI and more features. Can anyone say, "Dark Theme"? ;D
|
|
|
|
services:
|
|
|
|
app:
|
|
## Database ##
|
|
# SQL Lite
|
|
|
|
## App ##
|
|
container_name: gitea-app
|
|
image: gitea/gitea:latest
|
|
restart: always
|
|
ports:
|
|
- "3001:3000"
|
|
- "2201:22"
|
|
volumes:
|
|
- ../../Volumes/Gitea/gitea:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
environment:
|
|
- USER_UID=1000
|
|
- USER_GID=1000
|
|
- CPU=$CPU
|
|
- MEM=$MEM
|
|
deploy:
|
|
mode: global
|
|
resources:
|
|
limits:
|
|
cpus: $CPU
|
|
memory: $MEM
|