version: '3.8' services: #Jira Jira: image: atlassian/jira-software:latest container_name: Jira volumes: - ./jira:/var/atlassian/jira networks: - jira - development ports: - '8080:8080' depends_on: - postgresql - traefik environment: VIRTUAL_HOST: localhost CATALINA_OPTS: '-Xms1024m -Xmx2048m -XX:+UseG1GC -Datlassian.plugins.enable.wait=300' X_PROXY_NAME: jira.luke-else.co.uk X_PROXY_PORT: 443 X_PROXY_SCHEME: https restart: unless-stopped #Postgres database postgresql: image: sameersbn/postgresql:latest container_name: postgresql volumes: - ./postgresql:/var/lib/postgresql networks: - jira environment: - DEBUG=false - DB_USER=jira - DB_PASS=password - DB_NAME=jiradb - DB_EXTENSION=pg_trgm restart: unless-stopped volumes: jiradata: external: false postgresqldata_jira: external: false networks: jira: name: jira development: external: true