Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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