From d273e6265c5b9f7a453deda1ac28b1682f8132e9 Mon Sep 17 00:00:00 2001 From: iotcat Date: Tue, 25 Aug 2020 01:14:47 +0800 Subject: [PATCH] gitea --- home.yimian.xyz/docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/home.yimian.xyz/docker-compose.yml b/home.yimian.xyz/docker-compose.yml index c3769da..699df7f 100644 --- a/home.yimian.xyz/docker-compose.yml +++ b/home.yimian.xyz/docker-compose.yml @@ -93,6 +93,21 @@ services: - "/mnt/var/ssl/yimian.xyz:/certs" - "/var/docker:/var/lib/registry" + gitea: + image: docker.yimian.xyz:5000/gitea + environment: + - USER_UID=1000 + - USER_GID=1000 + #- HTTP_PORT=80 + - SSH_PORT=4422 + restart: always + volumes: + - /home/data/gitea:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: + - "3000:3000" + - "222:22" v2ray: @@ -114,3 +129,4 @@ services: networks: default: +