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 $TIMEZONE environment variable #4954

Merged
merged 1 commit into from
Aug 30, 2016

Conversation

walkerlee
Copy link
Contributor

Short Description:

Using $TIMEZONE env variable to change docker container's timezone

Fixes:

Set environment TIMEZONE=Etc/UTC

⋊> ~/h/PokemonGo-Bot on update-dockerfile ⨯ docker-compose up
Creating pokemongobot_bot1-pokego_1
Creating pokemongobot_bot1-pokegoweb_1
Attaching to pokemongobot_bot1-pokego_1, pokemongobot_bot1-pokegoweb_1
bot1-pokegoweb_1  | Serving HTTP on 0.0.0.0 port 8000
bot1-pokego_1     | 2016-08-30 17:52:20,815 [       cli] [INFO] PokemonGO Bot v1.0
bot1-pokego_1     | 2016-08-30 17:52:20,822 [       cli] [INFO] commit: not found

Set environment TIMEZONE=Asia/Taipei

⋊> ~/h/PokemonGo-Bot on update-dockerfile ⨯ docker-compose up
Recreating pokemongobot_bot1-pokego_1
Recreating pokemongobot_bot1-pokegoweb_1
Attaching to pokemongobot_bot1-pokego_1, pokemongobot_bot1-pokegoweb_1
bot1-pokegoweb_1  | Serving HTTP on 0.0.0.0 port 8000
bot1-pokego_1     | 2016-08-31 01:52:42,717 [       cli] [INFO] PokemonGO Bot v1.0
bot1-pokego_1     | 2016-08-31 01:52:42,726 [       cli] [INFO] commit: not found

@mention-bot
Copy link

@walkerlee, thanks for your PR! By analyzing the annotation information on this pull request, we identified @nivong, @solderzzc and @th3w4y to be potential reviewers

@solderzzc
Copy link
Contributor

solderzzc commented Aug 30, 2016

👍

Approved with PullApprove

@solderzzc solderzzc merged commit 0d2e093 into PokemonGoF:dev Aug 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants