Parcourir la source

Add missing path in the Docker app.ini template (#2181)

tags/v1.6.0-dev
Tao Wang il y a 5 ans
Parent
révision
823318bfbe
2 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 1
    0
      Dockerfile
  2. 7
    0
      docker/etc/templates/app.ini

+ 1
- 0
Dockerfile Voir le fichier

@@ -58,3 +58,4 @@ CMD ["/bin/s6-svscan", "/etc/s6"]

COPY docker /
COPY --from=build-env /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea
RUN ln -s /usr/local/bin/gitea /app/gitea/gitea

+ 7
- 0
docker/etc/templates/app.ini Voir le fichier

@@ -4,6 +4,9 @@ RUN_MODE = $RUN_MODE
[repository]
ROOT = /data/git/repositories

[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo

[repository.upload]
TEMP_PATH = /data/gitea/uploads

@@ -14,6 +17,7 @@ HTTP_PORT = $HTTP_PORT
ROOT_URL = $ROOT_URL
DISABLE_SSH = $DISABLE_SSH
SSH_PORT = $SSH_PORT
LFS_CONTENT_PATH = /data/git/lfs

[database]
PATH = /data/gitea/gitea.db
@@ -23,6 +27,9 @@ NAME = $DB_NAME
USER = $DB_USER
PASSWD = $DB_PASSWD

[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve

[session]
PROVIDER_CONFIG = /data/gitea/sessions


Chargement…
Annuler
Enregistrer