Created
April 1, 2019 14:26
-
-
Save beyoung/cc1d69360192d0c8e45b12ad2bf68f62 to your computer and use it in GitHub Desktop.
docker-compose file for jetbrains team-city
This file contains 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
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