v /opt/teamcity-server1/logs:/opt/teamcity/logs \ v /opt/teamcity-server1/data:/data/teamcity_server/datadir \ In my case I used the following commands: Psql -U teamcityuser -h postgres1_ip teamcitydb Make sure that you can continue to the new database. Check out this article how to determined what IP address of it. You need to change postgres1_ip with the real IP address used by docker. Postgres=# grant all on database teamcitydb to teamcityuser Postgres=# create database teamcitydb with owner teamcityuser Postgres=# CREATE ROLE teamcityuser with password ' NEWPWD' login WARNING: psql major version 9.5, server major version 9.6. You need to start PostgreSQL service and then create an empty database used for TeamCity.ĭocker run -name postgres1 -e POSTGRES_PASSWORD= YOURPWD -d postgres Step 1: Download docker imagesįirst of all, you need to fetch JetBrains docker images and image for PostgreSQL. It was missing explanation how to set up PostgreSQL, so I will cover it here. Official documentation is can be found here: Today I will concentrate on the technical steps only. One day I hope I will write an article explaining why TeamCity is so great. TeamCity is a perfect tool if you need Continuous Integration solution. Setting up TeamCity with official JetBrains docker images.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |