Created Jira + database container - Jira contains development netowkr yet to be implemented

This commit is contained in:
Luke Else 2022-10-28 17:57:28 +01:00
parent 94e6a63ea3
commit a257b894e0
2 changed files with 50 additions and 28 deletions

View File

@ -0,0 +1,50 @@
version: '3.8'
services:
#Jira
Jira:
depends_on:
- 'postgresql'
image: atlassian/jira-software:latest
container_name: Jira
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
networks:
- Jira
- Development
ports:
- '8080:8080'
volumes:
- ./jira:/var/atlassian/jira
restart: unless-stopped
#Postgres database
postgresql:
image: sameersbn/postgresql:latest
container_name: postgresql
environment:
- DEBUG=false
- DB_USER=jira
- DB_PASS=password
- DB_NAME=jiradb
- DB_EXTENSION=pg_trgm
volumes:
- ./postgresql:/var/lib/postgresql
networks:
- jira
restart: unless-stopped
volumes:
jiradata:
external: false
postgresqldata_jira:
external: false
networks:
jira:
driver: bridge

View File

@ -1,28 +0,0 @@
version: '3.8'
services:
#gitea (222)
gitea:
image: gitea/gitea:latest
container_name: gitea
environment:
- APP_NAME="gitea"
- USER_UID=1000
- USER_GID=1000
- USER=git
- RUN_MODE=prod
- DOMAIN=git.luke-else.co.uk
- SSH_DOMAIN=git.luke-else.co.uk
- HTTP_PORT=3000
- ROOT_URL=https://git.luke-else.co.uk
- SSH_PORT=222
- SSH_LISTEN_PORT=22
- DB_TYPE=sqlite3
ports:
- "222:22"
volumes:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped