Skip to content

Instantly share code, notes, and snippets.

@memoryleak
Last active January 19, 2022 19:13
Show Gist options
  • Save memoryleak/ef5c8db80063158034673a57153971b4 to your computer and use it in GitHub Desktop.
Save memoryleak/ef5c8db80063158034673a57153971b4 to your computer and use it in GitHub Desktop.
Jetbrains Products - Docker-compose
---
version: '3.5'
services:
hub:
image: jetbrains/hub:2021.1.14194
volumes:
- ./hub/data:/opt/hub/data
- ./hub/conf:/opt/hub/conf
- ./hub/logs:/opt/hub/logs
- ./hub/backups:/opt/hub/backups
ports:
- 8080
youtrack:
image: jetbrains/youtrack:2021.4.38425
volumes:
- ./youtrack/data:/opt/youtrack/data
- ./youtrack/conf:/opt/youtrack/conf
- ./youtrack/logs:/opt/youtrack/logs
- ./youtrack/backups:/opt/youtrack/backups
ports:
- 8080
depends_on:
- hub
upsource:
image: jetbrains/upsource:2020.1.1970
volumes:
- ./upsource/data:/opt/upsource/data
- ./upsource/conf:/opt/upsource/conf
- ./upsource/logs:/opt/upsource/logs
- ./upsource/backups:/opt/upsource/backups
ports:
- 8080
depends_on:
- hub
teamcity:
image: jetbrains/teamcity-server:2021.2.2
volumes:
- ./teamcity/data:/opt/teamcity/data
- ./teamcity/conf:/opt/teamcity/conf
- ./teamcity/logs:/opt/teamcity/logs
- ./teamcity/backups:/opt/teamcity/backups
ports:
- 8111
depends_on:
- hub
create database hub collate utf8mb4_bin;
create user hub identified by 'strongpassword';
grant all privileges on hub.* to hub;
grant process on *.* to hub;
create database youtrack collate utf8mb4_bin;
create user youtrack identified by 'strongpassword';
grant all privileges on youtrack.* to youtrack;
grant process on *.* to youtrack;
create database upsource collate utf8mb4_bin;
create user upsource identified by 'strongpassword';
grant all privileges on upsource.* to upsource;
grant process on *.* to upsource;
create database teamcity collate utf8mb4_bin;
create user teamcity identified by 'strongpassword';
grant all privileges on teamcity.* to teamcity;
grant process on *.* to teamcity;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment