Closed andrewsav-bt closed 6 years ago
@andrewsav-datacom, depending on windows/linux docker images way to set timezone differs.
For linux containers you could set TZ
environment variable while starting container like that:
docker run -it --name teamcity-server-instance \
-e TEAMCITY_SERVER_MEM_OPTS="-Xmx2g -XX:MaxPermSize=270m -XX:ReservedCodeCacheSize=350m" \
-e TZ="Europe/Moscow" \
-v <path to data directory>:/data/teamcity_server/datadir \
-v <path to log directory>:/opt/teamcity/logs \
-p <port on host>:8111 \
jetbrains/teamcity-server
How do I set the correct timezone for Teamcity Server running in a docker container?