Gitea 1.4.1 (Dockerized)
I’m using the Docker image to setup Gitea, however I’ve found that I’m limited to setting only a subset of the entire configuration options.
The “Install with Docker” page mentions…
You can configure some of Gitea’s settings via environment variables:
But why only some, and not all?
I need to be able to set DISABLE_REGISTRATION
to true
, but it has no effect. What can I do?
docker-compose.yml
version: '3'
services:
web:
image: gitea/gitea:1.4.1
restart: always
volumes:
- web_data:/data
ports:
- "3000:3000"
- "22:22"
environment:
APP_NAME: myapp
RUN_MODE: prod
DISABLE_REGISTRATION: "true"
SECRET_KEY: password123
INSTALL_LOCK: "true"
volumes:
web_data: