更新 'gitbucket.yml'
This commit is contained in:
parent
a99cbd7086
commit
3bafba355a
1 changed files with 0 additions and 0 deletions
24
gitbucket
24
gitbucket
|
|
@ -1,24 +0,0 @@
|
|||
version: '2.1'
|
||||
services:
|
||||
db:
|
||||
image: postgres:15-alpine
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=git-pass
|
||||
- POSTGRES_USER=git
|
||||
- POSTGRES_DB=git
|
||||
volumes:
|
||||
- ./postgres:/var/lib/postgresql/data
|
||||
|
||||
git:
|
||||
image: gitbucket/gitbucket
|
||||
restart: always
|
||||
environment:
|
||||
- GITBUCKET_DB_USER=git
|
||||
- GITBUCKET_DB_PASSWORD=git-pass
|
||||
- GITBUCKET_DB_URL=jdbc:postgresql://db/git
|
||||
volumes:
|
||||
- ./data:/gitbucket
|
||||
ports:
|
||||
- "127.0.0.1:2080:8080"
|
||||
- "29418:29418"
|
||||
Loading…
Add table
Add a link
Reference in a new issue