Skip to content

Instantly share code, notes, and snippets.

@NguyenTatNhac
Last active December 7, 2021 03:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NguyenTatNhac/0bd95ccef715de20ec52b517148d0f48 to your computer and use it in GitHub Desktop.
Save NguyenTatNhac/0bd95ccef715de20ec52b517148d0f48 to your computer and use it in GitHub Desktop.
The docker-compose for Jira Software on PostgreSQL
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