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
|
||||
consumes: postgresql
|
||||
requires-domain: true
|
||||
|
||||
%directory ${SERVICE_ROOT}/custom/conf
|
||||
name: working directory
|
||||
|
|
|
@ -27,10 +27,10 @@ PATH = {{ service.root }}/data/gitea.db
|
|||
ROOT = {{ service.root }}/repositories
|
||||
|
||||
[server]
|
||||
SSH_DOMAIN = localhost
|
||||
DOMAIN = localhost
|
||||
SSH_DOMAIN = {{ service.domain }}
|
||||
DOMAIN = {{ service.domain }}
|
||||
HTTP_PORT = {{ port(service.id) }}
|
||||
ROOT_URL = http://localhost:{{ port(service.id) }}/
|
||||
ROOT_URL = http://{{ service.domain }}:{{ port(service.id) }}/
|
||||
DISABLE_SSH = false
|
||||
SSH_PORT = 22
|
||||
LFS_START_SERVER = true
|
||||
|
|
Loading…
Reference in New Issue