Closed
Description
- Gitea version (or commit ref): latest stable:
gitea/gitea:1
- Git version: Docker
- Operating system: Docker @ Debian Stable
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- [x ] No: It's an installation issue
- Log gist:
Description
I use a docker-compose.yaml file with an environment section:
environment:
- GITEA__DEFAULT__APP_NAME=domain.de git
- GITEA__server__DOMAIN=git.domain.de
- GITEA__server__ROOT_URL=https://git.domain.de
- GITEA__server__SSH_PORT=222
- GITEA__mailer__ENABLED=true
- GITEA__mailer__HOST=mail.domain.de:587
- [email protected]
All of the settings are being considered in setup just fine (up to including mailer.ENABLED) but mailer.HOST
and mailer.FROM
are being ignored, i.e. on the setup page the fields are blank and in the configuration page of the admin interface only Enabled is shown with regard to the mailer
Logs
Show setup of a new container with gitea directory deleted and call of config page in browser:
# docker-compose up -d && docker-compose logs -f
Creating network "gitea_default" with the default driver
Creating gitea_server_1 ... done
Attaching to gitea_server_1
server_1 | Generating /data/ssh/ssh_host_ed25519_key...
server_1 | Generating /data/ssh/ssh_host_rsa_key...
server_1 | Generating /data/ssh/ssh_host_dsa_key...
server_1 | Generating /data/ssh/ssh_host_ecdsa_key...
server_1 | Could not load host certificate "/data/ssh/ssh_host_ed25519_cert": No such file or directory
server_1 | Could not load host certificate "/data/ssh/ssh_host_rsa_cert": No such file or directory
server_1 | Could not load host certificate "/data/ssh/ssh_host_ecdsa_cert": No such file or directory
server_1 | Could not load host certificate "/data/ssh/ssh_host_dsa_cert": No such file or directory
server_1 | Server listening on :: port 22.
server_1 | Server listening on 0.0.0.0 port 22.
server_1 | 2021/05/16 11:38:30 cmd/web.go:82:runWeb() [I] Starting Gitea on PID: 17
server_1 | 2021/05/16 11:38:30 ...dules/setting/git.go:101:newGit() [I] Git Version: 2.30.2, Wire Protocol Version 2 Enabled
server_1 | 2021/05/16 11:38:30 routers/init.go:93:PreInstallInit() [T] AppPath: /app/gitea/gitea
server_1 | 2021/05/16 11:38:30 routers/init.go:94:PreInstallInit() [T] AppWorkPath: /app/gitea
server_1 | 2021/05/16 11:38:30 routers/init.go:95:PreInstallInit() [T] Custom path: /data/gitea
server_1 | 2021/05/16 11:38:30 routers/init.go:96:PreInstallInit() [T] Log path: /data/gitea/log
server_1 | 2021/05/16 11:38:30 routers/init.go:97:PreInstallInit() [T] Preparing to run install page
server_1 | 2021/05/16 11:38:31 routers/init.go:100:PreInstallInit() [I] SQLite3 Supported
server_1 | 2021/05/16 11:38:31 cmd/web.go:189:listen() [I] Listen: http://0.0.0.0:3000
server_1 | 2021/05/16 11:38:31 ...s/graceful/server.go:55:NewServer() [I] Starting new Web server: tcp:0.0.0.0:3000 on PID: 17
server_1 | 2021/05/16 11:38:31 ...s/graceful/server.go:66:func1() [D] Starting server on tcp:0.0.0.0:3000 (PID: 17)
server_1 | 2021/05/16 11:38:45 ...uters/routes/base.go:36:1() [I] Started GET / for 46.114.26.149:0
server_1 | 2021/05/16 11:38:45 ...s/context/context.go:184:HTML() [D] Template: install
server_1 | 2021/05/16 11:38:45 ...uters/routes/base.go:45:1() [I] Completed GET / 200 OK in 8.104212ms
server_1 | 2021/05/16 11:38:45 [Static] Serving /serviceworker.js
server_1 | 2021/05/16 11:38:45 ...uters/routes/base.go:36:1() [I] Started GET /serviceworker.js for 46.114.26.149:0
server_1 | 2021/05/16 11:38:45 ...uters/routes/base.go:45:1() [I] Completed GET /serviceworker.js 304 Not Modified in 185.237µs
Best Thanks!