feat: add gitea
This commit is contained in:
1 parent
8e2760b77a
commit
fe76d52de4
1 file changed
+21
@@ -0,0 +1,21 @@
|
|||||||
|
name: gitea
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
image: docker.gitea.com/gitea:1
|
||||||
|
container_name: gitea
|
||||||
|
volumes:
|
||||||
|
- /srv/data/gitea:/data
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
environment:
|
||||||
|
- USER_UID=1000
|
||||||
|
- USER_GID=1000
|
||||||
|
ports:
|
||||||
|
- '0.0.0.0:3000:3000'
|
||||||
|
# - 222:22
|
||||||
|
restart: unless-stopped
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: "1.0"
|
||||||
|
memory: 512M
|
||||||
Reference in new issue
Block a user