Last active
March 18, 2019 15:16
-
-
Save Bes0n/211e55517001efafa11d8350e7438823 to your computer and use it in GitHub Desktop.
configuration files.
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.3' | |
services: | |
server: | |
container_name: teamcity_server | |
image: 'jetbrains/teamcity-server:latest' | |
networks: | |
- LAN1 | |
volumes: | |
- 'VLM1:/data/teamcity_server/datadir' | |
- 'VLM1:/opt/teamcity/logs' | |
ports: | |
- '8111:8111' | |
agent: | |
container_name: teamcity_agent | |
image: 'jetbrains/teamcity-agent:latest' | |
networks: | |
- LAN1 | |
volumes: | |
- 'VLM1:/data/teamcity_agent/conf' | |
environment: | |
#indicate your teamcity server's IP address | |
SERVER_URL: 'http://172.21.0.3:8111' | |
database: | |
container_name: postgres_database | |
image: 'postgres:latest' | |
networks: | |
- LAN1 | |
volumes: | |
- 'pgdata:/var/lib/postgresql/data' | |
environment: | |
- POSTGRES_USER=teamcity_dbuser | |
- POSTGRES_PASSWORD=teamcity_dbpassword | |
- POSTGRES_DB=teamcity_db | |
networks: | |
LAN1: | |
external: | |
name: LAN1 | |
volumes: | |
VLM1: | |
external: | |
name: VLM1 | |
pgdata: | |
external: | |
name: pgdata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment