Skip to content

-e TZ=Europe/Moscow #149

@bscheshirwork

Description

@bscheshirwork

I can't configure the nginx service throw environment TZ

Another service in the composition can set timezone with

    environment:
      TZ: Europe/Moscow
$ date
Ср фев 15 18:16:52 MSK 2017
$ docker-compose run --rm php date
Wed Feb 15 18:17:05 MSK 2017
$ docker-compose run --rm db date
Wed Feb 15 18:17:47 MSK 2017

but nginx-alpine has strange effect:

$ docker-compose run --rm nginx date
Wed Feb 15 15:18:20 GMT 2017

without pass -e

$ docker-compose run --rm nginx date
Wed Feb 15 15:18:44 UTC 2017

UTC -> GMT

may be this
gliderlabs/docker-alpine#136 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions