1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00
This commit is contained in:
kev 2019-11-01 13:20:57 +08:00
parent 6016ee4b05
commit 81b90eb314
3 changed files with 54 additions and 0 deletions

View File

@ -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
View 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
View 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