From e2689f149afa145fff71d7c7bb757f83e9ae1936 Mon Sep 17 00:00:00 2001 From: chinky Date: Sun, 8 Jul 2018 23:01:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6=E5=8C=BA=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 0 docker-compose.yml | 18 +++++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) mode change 100755 => 100644 .gitignore mode change 100755 => 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 diff --git a/docker-compose.yml b/docker-compose.yml old mode 100755 new mode 100644 index 0e249d5..99f0add --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,13 +8,20 @@ services: server: image: gitea/gitea:latest environment: - - USER_UID=1002 + - APP_NAME='通技的 gitea 服务器' + - RUN_MODE='prod' + # - SSH_DOMAIN='dgtongji.f3322.net' + # - SSH_PORT=22 + # - HTTP_PORT=3000 + # - ROOT_URL=dgtongji.f3322.net + - USER_UID=2001 - USER_GID=100 - DB_TYPE=mysql - DB_HOST='db:3306' - - DB_NAME='giteat' + - DB_NAME='gitea' - DB_USER='root' - - DB_PASSWD=''gitea894231'' + - DB_PASSWD=gitea894231 + - TZ=Asia/Shanghai restart: always networks: - gitea @@ -30,10 +37,11 @@ services: image: mariadb:10 restart: always environment: - - MYSQL_ROOT_PASSWORD='gitea894231' + - MYSQL_ROOT_PASSWORD=gitea894231 - MYSQL_USER=gitea - - MYSQL_PASSWORD=gitea + - MYSQL_PASSWORD=gitea894231 - MYSQL_DATABASE=gitea + - TZ=Asia/Shanghai networks: - gitea volumes: