diff --git a/.gitignore b/.gitignore index 28c9432..77fbe52 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -./home/* -!./home/.empty +./data/repositories diff --git a/data/data.mv.db b/data/data.mv.db new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/data/data.mv.db diff --git a/data/database.conf b/data/database.conf new file mode 100644 index 0000000..3ef45f4 --- /dev/null +++ b/data/database.conf @@ -0,0 +1,5 @@ +db { + url = "jdbc:h2:${DatabaseHome};MVCC=true" + user = "sa" + password = "sa" +} diff --git a/data/gitbucket.conf b/data/gitbucket.conf new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/data/gitbucket.conf diff --git a/docker-compose.yml b/docker-compose.yml index d8d7fc3..9684fe2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,7 @@ volumes: - ./data/repositories:/srv/gitbucket/repositories - ./data/data.mv.db:/srv/gitbucket/data.mv.db + - ./data/database.conf:/srv/gitbucket/database.conf - ./data/gitbucket.conf:/srv/gitbucket/gitbucket.conf ports: - "${GITBUCKET_BIND:-127.0.0.1}:${GITBUCKET_WEB_PORT:-8080}:8080" diff --git a/gitbucket.conf b/gitbucket.conf deleted file mode 100644 index 9c0806e..0000000 --- a/gitbucket.conf +++ /dev/null @@ -1,3 +0,0 @@ -GITBUCKET_BIND=127.0.0.1 -GITBUCKET_WEB_PORT=8080 -GITBUCKET_SSH_PORT=29418