Created
August 27, 2024 03:22
-
-
Save dgrebb/d7b0a4a684da900a846df0f2de35db49 to your computer and use it in GitHub Desktop.
Jira 10 Docker Container: Jira Software Data Center Edition with PostgreSQL 15
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
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 |
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
FROM atlassian/jira-software:10.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps for trial licensing covered in a post here.