Last active
April 14, 2018 14:34
-
-
Save syuchan1005/3d9857e92714a4371260dc9701e4eeb1 to your computer and use it in GitHub Desktop.
Jetbrains Hub & Upsource & YouTrack & Teamcity(server, agent, db(mysql)) compose file. (need jwilder/nginx-proxy and jrcs/letsencrypt-nginx-proxy-companion container)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# after starting | |
# run-cmd: sudo chown -R 13001:13001 Hub/ TeamCity/ Upsource/ YouTrack/ | |
version: "3" | |
services: | |
hub-server: | |
image: jetbrains/hub:2018.1.9156 | |
volumes: | |
- ./Hub/data:/opt/hub/data | |
- ./Hub/conf:/opt/hub/conf | |
- ./Hub/logs:/opt/hub/logs | |
- ./Hub/backups:/opt/hub/backups | |
environment: | |
VIRTUAL_HOST: <Your host name here> | |
LETSENCRYPT_HOST: <Your host name here> | |
LETSENCRYPT_EMAIL: <Your email here> | |
network_mode: "bridge" | |
upsource-server: | |
image: jetbrains/upsource:2017.3.2888 | |
volumes: | |
- ./Upsource/data:/opt/upsource/data | |
- ./Upsource/conf:/opt/upsource/conf | |
- ./Upsource/logs:/opt/upsource/logs | |
- ./Upsource/backups:/opt/upsource/backups | |
environment: | |
VIRTUAL_HOST: <Your host name here> | |
LETSENCRYPT_HOST: <Your host name here> | |
LETSENCRYPT_EMAIL: <Your email here> | |
network_mode: "bridge" | |
youtrack-server: | |
image: jetbrains/youtrack:2018.1.40341 | |
volumes: | |
- ./YouTrack/data:/opt/youtrack/data | |
- ./YouTrack/conf:/opt/youtrack/conf | |
- ./YouTrack/logs:/opt/youtrack/logs | |
- ./YouTrack/backups:/opt/youtrack/backups | |
environment: | |
VIRTUAL_HOST: <Your host name here> | |
LETSENCRYPT_HOST: <Your host name here> | |
LETSENCRYPT_EMAIL: <Your email here> | |
network_mode: "bridge" | |
teamcity-db: | |
image: mysql:5.7 | |
volumes: | |
- ./TeamCity/db:/var/lib/mysql | |
- ./TeamCityDB/:/etc/mysql/conf.d | |
environment: | |
MYSQL_DATABASE: teamcity | |
MYSQL_USER: teamcity | |
MYSQL_PASSWORD: teamcity | |
network_mode: "bridge" | |
teamcity-server: | |
image: jetbrains/teamcity-server | |
volumes: | |
- ./TeamCity/data:/data/teamcity_server/datadir | |
- ./TeamCity/logs:/opt/teamcity/logs | |
links: | |
- teamcity-db:mysql | |
environment: | |
VIRTUAL_HOST: <Your host name here> | |
LETSENCRYPT_HOST: <Your host name here> | |
LETSENCRYPT_EMAIL: <Your email here> | |
network_mode: "bridge" | |
teamcity-agent: | |
image: jetbrains/teamcity-agent | |
volumes: | |
- ./TeamCity/agent:/data/teamcity_agent/conf | |
links: | |
- teamcity-server:server | |
environment: | |
SERVER_URL: server:8111 | |
AGENT_NAME: main-agent | |
network_mode: "bridge" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment