Hi ,
Since yesterday I’m trying to get my Gitea Dcok to run acceptably. But unfortunately I do not manage to solve the problem by my self.
The problem is that some pages have a very slow response time. And for some reason also pages I visited two clicks ago. Maybe it’s just my imagination, but I think that this problem happens to about every fourth page I visit.
My docker compose file looking like that:
version: "3"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:1.17.1
container_name: gitea
environment:
- GITEA__DEFAULT__APP_NAME=MyPage
- USER_UID=1000
- USER_GID=1000
- GITEA__server__LOCAL_USE_PROXY_PROTOCOL=false
- GITEA__server__ROOT_URL=http://beispiel.de
- GITEA__server__OFFLINE_MODE=true
# Bei Neuinstallation müssen die folgenden Beiden Werte auf "true" sein
- GITEA__service__DISABLE_REGISTRATION=false
- GITEA__service__REQUIRE_SIGNIN_VIEW=false
- GITEA__openid__ENABLE_OPENID_SIGNIN=false
- GITEA__picture__DISABLE_GRAVATAR=true
- GITEA__picture__ENABLE_FEDERATED_AVATAR=false
- GITEA__ui.meta__AUTHOR=MyPagers
- GITEA__ui.meta__DESCRIPTION="Hübscher Code, hier!"
- GITEA__ui.meta__SHOW_USER_EMAIL=false
- GITEA__database__DB_TYPE=mysql
- GITEA__database__HOST=db:3306
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
# Mailer Einstellungen gelten so nur für Version 1.17.X. Ggf. also anpassen!
- GITEA__mailer__ENABLED=true
- GITEA__mailer__FROM=MyPage <mypage@web.de>
- GITEA__mailer__MAILER_TYPE=smtp
- GITEA__mailer__HOST=smtp.web.de:587
- GITEA__mailer__IS_TLS_ENABLED=false
- GITEA__mailer__USER=mypage@web.de
- GITEA__mailer__PASSWD=12345679
restart: unless-stopped
networks:
- gitea
volumes:
- gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "8082:3000"
- "26111:22"
depends_on:
- db
db:
image: mysql:8
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=gitea
- MYSQL_USER=gitea
- MYSQL_PASSWORD=gitea
- MYSQL_DATABASE=gitea
networks:
- gitea
volumes:
- gitea-db:/var/lib/mysql
volumes:
gitea:
driver: local
gitea-db:
driver: local