54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
version: '3'
|
|
services:
|
|
db:
|
|
image: postgres
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./db-init-script.sh:/docker-entrypoint-initdb.d/init.sh
|
|
- ./pgdata:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_PASSWORD=test123
|
|
jira:
|
|
restart: unless-stopped
|
|
image: atlassian/jira-software:latest
|
|
environment:
|
|
- ATL_JDBC_URL=jdbc:postgresql://db/jira
|
|
- ATL_JDBC_USER=jira
|
|
- ATL_JDBC_PASSWORD=test123
|
|
- ATL_DB_TYPE=postgres72
|
|
- ATL_DB_DRIVER=org.postgresql.Driver
|
|
- JVM_MAXIMUM_MEMORY=1024m
|
|
volumes:
|
|
- ./jira-home:/var/atlassian/application-data/jira
|
|
ports:
|
|
- ${JIRA_PORT}:8080
|
|
depends_on:
|
|
- db
|
|
ulimits:
|
|
nproc: 65535
|
|
nofile:
|
|
soft: 26677
|
|
hard: 46677
|
|
|
|
confluence:
|
|
restart: unless-stopped
|
|
image: atlassian/confluence:latest
|
|
environment:
|
|
- ATL_JDBC_URL=jdbc:postgresql://db/confluence
|
|
- ATL_JDBC_USER=confluence
|
|
- ATL_JDBC_PASSWORD=test123
|
|
- ATL_DB_TYPE=postgresql
|
|
- JVM_MAXIMUM_MEMORY=1024m
|
|
ports:
|
|
- ${CONFLUENCE_PORT}:8090
|
|
- ${CONFLUENCE_SYNCHRONY_PORT}:8091
|
|
volumes:
|
|
- ./confluence-home:/var/atlassian/application-data/confluence
|
|
depends_on:
|
|
- db
|
|
ulimits:
|
|
nproc: 65535
|
|
nofile:
|
|
soft: 26677
|
|
hard: 46677
|