From c2c6cedf0c05bc98bfb4980333a2b55c01ca0f36 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sun, 17 Nov 2024 17:10:08 +0800 Subject: [PATCH] update --- rxr_gitea/docker-compose.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/rxr_gitea/docker-compose.yml b/rxr_gitea/docker-compose.yml index 89d41ff..93582d6 100644 --- a/rxr_gitea/docker-compose.yml +++ b/rxr_gitea/docker-compose.yml @@ -9,8 +9,8 @@ services: environment: - USER_UID=1000 - USER_GID=1000 - - GITEA__database__DB_TYPE=postgres - - GITEA__database__HOST=db:5432 + - GITEA__database__DB_TYPE=mysql + - GITEA__database__HOST=db:3306 - GITEA__database__NAME=gitea - GITEA__database__USER=gitea - GITEA__database__PASSWD=gitea @@ -30,15 +30,15 @@ services: - "23:22" depends_on: - db - db: - image: postgres:14 + image: mysql:8 restart: always environment: - - POSTGRES_USER=gitea - - POSTGRES_PASSWORD=gitea - - POSTGRES_DB=gitea + - MYSQL_ROOT_PASSWORD=gitea + - MYSQL_USER=gitea + - MYSQL_PASSWORD=gitea + - MYSQL_DATABASE=gitea networks: - gitea volumes: - - ${GITEA_PATH}/postgres:/var/lib/postgresql/data \ No newline at end of file + - ${GITEA_PATH}/mysql:/var/lib/mysql \ No newline at end of file