Merge "Set APP_NAME for gitea"

This commit is contained in:
Zuul 2019-02-06 18:16:04 +00:00 committed by Gerrit Code Review
commit a429b8e056
2 changed files with 11 additions and 3 deletions

View File

@ -1,8 +1,12 @@
APP_NAME = OpenDev: Free Software Needs Free Tools
RUN_MODE = prod
RUN_USER = git
[server]
APP_DATA_PATH = /data/gitea
SSH_DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL = http://38.108.68.96/
ROOT_URL = http://38.108.68.64/
DISABLE_SSH = false
SSH_PORT = 22
LFS_CONTENT_PATH = /data/git/lfs
@ -69,6 +73,6 @@ ENABLED = true
; List of file extensions that should be rendered by an external command
FILE_EXTENSIONS = .rst
; External command to render all matching extensions
RENDER_COMMAND = "/usr/bin/pandoc"
RENDER_COMMAND = "/usr/bin/pandoc -f rst"
; Input is not a standard input but a file
IS_INPUT_FILE = false

View File

@ -6,7 +6,8 @@ metadata:
labels:
app: gitea
spec:
replicas: 1
revisionHistoryLimit: 1
replicas: 4
selector:
matchLabels:
app: gitea
@ -28,6 +29,9 @@ spec:
containers:
- name: gitea
image: opendevorg/gitea
env:
- name: deployment_id
value: '1' # Increment to trigger a deployment.
ports:
- containerPort: 3000
volumeMounts: