Skip to content

Commit

Permalink
change TZ to TIME_ZONE
Browse files Browse the repository at this point in the history
  • Loading branch information
devosc committed Nov 5, 2018
1 parent 20e57bd commit 6008128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ There are other build arguments available for Composer, WP-CLI, the web server d
- WWW_GROUP=app
```
## Build Environment Variables
To match the file permissions, locale and time zone between the container and the host, use the variables `USER_ID`, `GROUP_ID`, `LOCALE` and `TZ`. These variables are automatically detected and stored in the file `.build.env` in the docker directory by the `install` script. These environment variables are sourced prior to building a container and running the project commands.
To match the file permissions, locale and time zone between the container and the host, use the variables `USER_ID`, `GROUP_ID`, `LOCALE` and `TIME_ZONE`. These variables are automatically detected and stored in the file `.build.env` in the docker directory by the `install` script. These environment variables are sourced prior to building a container and running the project commands.
```
args:
- USER_ID=${USER_ID}
- GROUP_ID=${GROUP_ID}
- LOCALE=${LOCALE}
- TZ=${TZ}
- TIME_ZONE=${TIME_ZONE}
```
## Rebuild Images
After changing a `Dockerfile` or the `docker-compose.yml` file for a project, use `docker-up --build` to build the images before starting the containers. Use `docker-down --remove-images` to remove the local project images and add `-a` to stop the shared services.
Expand Down

0 comments on commit 6008128

Please sign in to comment.