Skip to content

Instantly share code, notes, and snippets.

@dgrebb
Created August 27, 2024 03:22
Show Gist options
  • Save dgrebb/d7b0a4a684da900a846df0f2de35db49 to your computer and use it in GitHub Desktop.
Save dgrebb/d7b0a4a684da900a846df0f2de35db49 to your computer and use it in GitHub Desktop.
Jira 10 Docker Container: Jira Software Data Center Edition with PostgreSQL 15
services:
jira-10:
depends_on:
- postgresql-15
image: atlassian/jira-software:10.0.0
container_name: jira-10
networks:
- jira10net
volumes:
- jira10data:/var/atlassian/jira
ports:
- "8080:8080"
logging:
# limit logs retained on host to 25MB
driver: "json-file"
options:
max-size: "500k"
max-file: "50"
postgresql-15:
image: postgres:15.0-alpine
networks:
- jira10net
volumes:
- postgresql15data:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
# Database hostname is `postgresql` inside Jira
- "POSTGRES_USER=jira"
# CHANGE THE PASSWORD!
- "POSTGRES_PASSWORD=Postgres_password"
- "POSTGRES_DB=jiradb"
- "POSTGRES_ENCODING=UNICODE"
- "POSTGRES_COLLATE=C"
- "POSTGRES_COLLATE_TYPE=C"
logging:
# limit logs retained on host to 25MB
driver: "json-file"
options:
max-size: "500k"
max-file: "50"
volumes:
jira10data:
external: false
postgresql15data:
external: false
networks:
jira10net:
driver: bridge
FROM atlassian/jira-software:10.0.0
@dgrebb
Copy link
Author

dgrebb commented Aug 27, 2024

Steps for trial licensing covered in a post here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment