diff --git a/.gitignore b/.gitignore index ca471fe..b9981e8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ data/repositories +data/plugins backup diff --git a/docker-compose.yml b/docker-compose.yml index ad3651c..7043f32 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,7 @@ - GITBUCKET_DATABASE_PASSWORD=${GITBUCKET_DATABASE_PASSWORD} volumes: - ./data/repositories/:/srv/gitbucket/repositories/ + - ./data/plugins/:/srv/gitbucket/plugins/ - ./data/conf/gitbucket/gitbucket.conf:/srv/gitbucket/gitbucket.conf ports: - "${GITBUCKET_BIND:-127.0.0.1}:${GITBUCKET_WEB_PORT:-8080}:8080" diff --git a/docker/Dockerfile b/docker/Dockerfile index 080fcb1..f2b0c86 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -7,6 +7,7 @@ # mark voulmes VOLUME $GITBUCKET_HOME/repositories +VOLUME $GITBUCKET_HOME/plugins # set environment #RUN mkdir $GITBUCKET_HOME