Skip to content

Instantly share code, notes, and snippets.

@tghastings
Last active September 18, 2020 18:57
Show Gist options
  • Save tghastings/8e28c8de4ebb1891bc180d0d3332c993 to your computer and use it in GitHub Desktop.
Save tghastings/8e28c8de4ebb1891bc180d0d3332c993 to your computer and use it in GitHub Desktop.
jira-docker-compose.yml
version: '3'
services:
jira:
image: atlassian/jira-software
depends_on:
- postgresql
container_name: jira
restart: always
ports:
- '80:8080'
volumes:
- ./jira:/var/atlassian/jira # JIRA_HOME
postgresql:
container_name: jira_postgres
restart: always
image: postgres:12.4-alpine
environment:
- POSTGRES_DB=jiradb
- POSTGRES_USER=jira
- POSTGRES_PASSWORD=jellyfish
volumes:
- ./postgres:/var/lib/postgresql/data # POSTGRES_HOME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment