Last active
December 7, 2021 03:51
-
-
Save NguyenTatNhac/0bd95ccef715de20ec52b517148d0f48 to your computer and use it in GitHub Desktop.
The docker-compose for Jira Software on PostgreSQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.2' | |
services: | |
db: | |
image: postgres:13.1-alpine | |
container_name: db | |
environment: | |
- POSTGRES_PASSWORD=postgres | |
- POSTGRES_USER=postgres | |
- POSTGRES_DB=jira | |
volumes: | |
- db_data:/var/lib/postgresql/data | |
jira: | |
image: atlassian/jira-software:8.20.2 | |
container_name: jira | |
environment: | |
- ATL_JDBC_URL=jdbc:postgresql://db:5432/jira | |
- ATL_JDBC_USER=postgres | |
- ATL_JDBC_PASSWORD=postgres | |
- ATL_DB_DRIVER=org.postgresql.Driver | |
- ATL_DB_TYPE=postgres72 | |
ports: | |
- 8080:8080 | |
depends_on: | |
- db | |
volumes: | |
- jira_home:/var/atlassian/application-data/jira | |
volumes: | |
db_data: | |
jira_home: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment