-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.env
41 lines (33 loc) · 720 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env bash
# The "root" or "dev" password is not secure, please change it.
# Database
MYSQL_VERSION=8.0.12
MYSQL_PUBLISH_PORT=13306
MYSQL_PORT=3306
MYSQL_HOST=gogsdb
MYSQL_DATABASE=gogs
MYSQL_ROOT_USER=root
MYSQL_ROOT_PASSWORD=root
MYSQL_USER=dev
MYSQL_PASSWORD=dev
# Gogs app
GOGS_APP_NAME=Gogs
# Gogs web server
GOGS_SSH_PORT=10022
GOGS_HTTP_DOMAIN=localhost
GOGS_HOST_PORT=10080
GOGS_ADMIN_NAME=dev
GOGS_ADMIN_PASSWD=dev
GOGS_ADMIN_EMAIL=dev@localhost
# SSH
GOGS_BUILTIN_SSH_SERVER=off
# Logs
GOGS_ENABLE_CONSOLE_MODE=off
# See https://golang.org/pkg/time/#Duration
# 8760h0m0s == 365*24*time.Hour
GOGS_CERT_DURATION=8760h0m0s
# SMTP
GOGS_SMTP_HOST=
GOGS_SMTP_FROM=
GOGS_SMTP_USER=
GOGS_SMTP_PASSWD=