Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DB connection properties environment variables #2

Open
efim-a-efim opened this issue Oct 13, 2016 · 3 comments
Open

Add DB connection properties environment variables #2

efim-a-efim opened this issue Oct 13, 2016 · 3 comments

Comments

@efim-a-efim
Copy link

I think it will be perfect to add an ability to specify external DB connection properties (JDBC connection string) through docker environment. Currently this image breaks JetBrains best practice to use external DB for production purposes.
Maybe this task will require adding all DB drivers to this image.

@VladRassokhin
Copy link
Contributor

Before doing docker run you could place proper database.properties file into <TC DataPath>/config/
As <TC DataPath> would be mapped inside container, TeamCity should properly read and apply it

@vshuraeff
Copy link

vshuraeff commented May 30, 2017

@VladRassokhin this is not docker-way
where we get this file? or it can read any random format?

@VladRassokhin
Copy link
Contributor

@Svolentin Contributions are welcomed.

Example files can be found as <TC_Data_Dir>/config/database.*.template on running TeamCity server.
More details in documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants