Skip to content

Instantly share code, notes, and snippets.

@beyoung
Created April 1, 2019 14:26
Show Gist options
  • Save beyoung/cc1d69360192d0c8e45b12ad2bf68f62 to your computer and use it in GitHub Desktop.
Save beyoung/cc1d69360192d0c8e45b12ad2bf68f62 to your computer and use it in GitHub Desktop.
docker-compose file for jetbrains team-city
version: '3.1'
services:
db:
container_name: teamcity-postgres
image: postgres:10-alpine
restart: always
environment:
- POSTGRES_PASSWORD=12345678
volumes:
- ./postgres:/var/lib/postgresql:z
teamcity:
image: jetbrains/teamcity-server
container_name: teamcity
environment:
- ./datadir=/data/teamcity_server/datadir
- ./logs=/data/teamcity_server/logs
ports:
- "8111:8111"
links:
- db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment