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