mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
add jira
This commit is contained in:
parent
6016ee4b05
commit
81b90eb314
@ -285,6 +285,7 @@ A collection of delicious docker recipes.
|
||||
- [ ] python
|
||||
- [x] gogs/gogs :cn:
|
||||
- [x] haproxy
|
||||
- [x] teamatldocker/jira
|
||||
- [x] jmxtrans/jmxtrans
|
||||
- [x] wurstmeister/kafka
|
||||
- [x] netdata/netdata
|
||||
|
22
jira/README.md
Normal file
22
jira/README.md
Normal file
@ -0,0 +1,22 @@
|
||||
jira
|
||||
====
|
||||
|
||||
[Jira][1] Software is a powerful platform that combines issue collection and agile
|
||||
project management capabilities into a single application. Using Jira Software
|
||||
helps you plan and organize tasks, workflows, and reports for your agile team
|
||||
more efficiently.
|
||||
|
||||
```bash
|
||||
$ mkdir -p data/jira
|
||||
$ chown 1000:1000 data/jira
|
||||
$ docker-compose up -d
|
||||
$ docker-compose exec postgres psql -U jira
|
||||
>>> select * from propertystring where id in (select id from propertyentry where PROPERTY_KEY='jira.sid.key');
|
||||
id | propertyvalue
|
||||
-------+---------------------
|
||||
10101 | BP8Q-WXN6-SKX3-NB5M
|
||||
>>> \q
|
||||
$ curl http://localhost:8080/
|
||||
```
|
||||
|
||||
[1]: https://support.atlassian.com/jirasoftware/
|
31
jira/docker-compose.yml
Normal file
31
jira/docker-compose.yml
Normal file
@ -0,0 +1,31 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
|
||||
jira:
|
||||
image: teamatldocker/jira:8.5.0
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- ./data/jira:/var/atlassian/jira
|
||||
environment:
|
||||
- DOCKER_WAIT_HOST=postgres
|
||||
- DOCKER_WAIT_PORT=5432
|
||||
- JIRA_DATABASE_URL=postgresql://jira@postgres/jira
|
||||
- JIRA_DB_PASSWORD=jira
|
||||
- JIRA_PROXY_NAME=jira.example.com
|
||||
- JIRA_PROXY_PORT=443
|
||||
- JIRA_PROXY_SCHEME=https
|
||||
- SETENV_JVM_MINIMUM_MEMORY=4g
|
||||
- SETENV_JVM_MAXIMUM_MEMORY=8g
|
||||
restart: unless-stopped
|
||||
|
||||
postgres:
|
||||
image: postgres:12-alpine
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data:Z
|
||||
environment:
|
||||
- POSTGRES_DB=jira
|
||||
- POSTGRES_USER=jira
|
||||
- POSTGRES_PASSWORD=jira
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user