Adding TeamCity Stack to the Rancher (#254)
* Adding support for database auto creation * Creation v0.8.44 for auto-database-creation * Update config.yml * Fixing syntax * Fixing syntax * Update * Fixing uuid for gogs-1 * Create README.md * Delete README.md * Create README.md * Add files via upload * Create docker-compose.yml * Create rancher-compose.yml * Create config.yml * Update docker-compose.yml * Update README.md * Initial TeamCity commit * Addin variable for postgress_container * Addin variable for postgress_container * Setting Internal Docker port for Agents * Fix for Rancher autoselect * Syntax correction * Adding details to the Readme * Update rancher-compose.yml * Fixing vocabulary * Adding support for autoscale * Adding support for autoscale * Adding support for autoscale * Adding Sidekicks Enabling Sidekicks for teamcity-server and postgress services with shared working wolumes. This will help with easy upgrades of both containers. * Added info about Sidekicks. * fix * Reverting newer version of goog * Adding back missing category
This commit is contained in:
committed by
Bill Maxwell
parent
f114a19455
commit
9820dabeee
@@ -0,0 +1,49 @@
|
||||
teamcity-data:
|
||||
image: busybox
|
||||
tty: true
|
||||
volumes:
|
||||
- /var/lib/teamcity
|
||||
|
||||
teamcity-server:
|
||||
image: sjoerdmulder/teamcity:latest
|
||||
ports:
|
||||
- ${http_port}:8111
|
||||
links:
|
||||
- postgres:${postgress_container}
|
||||
environment:
|
||||
http_proxy: ${http_proxy}
|
||||
https_proxy: ${https_proxy}
|
||||
labels:
|
||||
io.rancher.sidekicks: teamcity-data
|
||||
volumes_from:
|
||||
- teamcity-data
|
||||
|
||||
postgres-data:
|
||||
image: busybox
|
||||
tty: true
|
||||
volumes:
|
||||
- ${postgres_data}
|
||||
|
||||
postgres:
|
||||
image: postgres:latest
|
||||
ports:
|
||||
- ${postgress_port}:5432
|
||||
environment:
|
||||
PGDATA: ${postgres_data}
|
||||
POSTGRES_DB: ${postgres_db}
|
||||
POSTGRES_USER: ${postgres_user}
|
||||
POSTGRES_PASSWORD: ${postgres_password}
|
||||
tty: true
|
||||
stdin_open: true
|
||||
labels:
|
||||
io.rancher.sidekicks: postgres-data
|
||||
volumes_from:
|
||||
- postgres-data
|
||||
|
||||
teamcity-agent:
|
||||
image: sjoerdmulder/teamcity-agent:latest
|
||||
links:
|
||||
- teamcity-server:teamcity-server
|
||||
environment:
|
||||
TEAMCITY_SERVER: http://teamcity-server:8111
|
||||
|
||||
Reference in New Issue
Block a user