Hi,
I want to start Gitea using a docker-compose.yml file. I used the script from Docker Hub:
version: '2'
services:
web:
image: gitea/gitea:1.8.3
volumes:
- ./data:/data
ports:
- "3000:3000"
- "22:22"
depends_on:
- db
restart: always
db:
image: mariadb:10
restart: always
environment:
- MYSQL_ROOT_PASSWORD=changeme
- MYSQL_DATABASE=gitea
- MYSQL_USER=gitea
- MYSQL_PASSWORD=changeme
volumes:
- ./db/:/var/lib/mysql
I changed the volumes to my filesystem and the username/pw. When I start this with docker compose up -d everything seems fine, but when I try to open Gitea in my brower (localhost:3000) it’s empty, as if I never startet anything. However, the service and ports are listed when I check docker ps.
I also tried starting the container through docker run. In that case everything is fine and I can open Gitea in my browser.
I’m new to both Gitea and Docker, so I hope to find some help here as I didn’t find something usefull on google.