gitea gets require-domain and its domain used in templates.
parent
55dbfa7999
commit
df718d2a9e
|
@ -1,5 +1,6 @@
|
||||||
command: gitea -C . -w . -c ./custom/conf/app.ini
|
command: gitea -C . -w . -c ./custom/conf/app.ini
|
||||||
consumes: postgresql
|
consumes: postgresql
|
||||||
|
requires-domain: true
|
||||||
|
|
||||||
%directory ${SERVICE_ROOT}/custom/conf
|
%directory ${SERVICE_ROOT}/custom/conf
|
||||||
name: working directory
|
name: working directory
|
||||||
|
|
|
@ -27,10 +27,10 @@ PATH = {{ service.root }}/data/gitea.db
|
||||||
ROOT = {{ service.root }}/repositories
|
ROOT = {{ service.root }}/repositories
|
||||||
|
|
||||||
[server]
|
[server]
|
||||||
SSH_DOMAIN = localhost
|
SSH_DOMAIN = {{ service.domain }}
|
||||||
DOMAIN = localhost
|
DOMAIN = {{ service.domain }}
|
||||||
HTTP_PORT = {{ port(service.id) }}
|
HTTP_PORT = {{ port(service.id) }}
|
||||||
ROOT_URL = http://localhost:{{ port(service.id) }}/
|
ROOT_URL = http://{{ service.domain }}:{{ port(service.id) }}/
|
||||||
DISABLE_SSH = false
|
DISABLE_SSH = false
|
||||||
SSH_PORT = 22
|
SSH_PORT = 22
|
||||||
LFS_START_SERVER = true
|
LFS_START_SERVER = true
|
||||||
|
|
Loading…
Reference in New Issue