diff options
-rw-r--r-- | docker-compose.yml | 1 | ||||
-rw-r--r-- | docker/php/Dockerfile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 26fba8f0..50d8c546 100644 --- a/docker-compose.yml +++ b/docker-compose.yml | |||
@@ -15,6 +15,7 @@ services: | |||
15 | build: | 15 | build: |
16 | context: docker/php | 16 | context: docker/php |
17 | args: | 17 | args: |
18 | # Set here your timezone using one of this: http://php.net/manual/en/timezones.php | ||
18 | timezone: 'Europe/Monaco' | 19 | timezone: 'Europe/Monaco' |
19 | ports: | 20 | ports: |
20 | - "9000:9000" | 21 | - "9000:9000" |
diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile index b43d40b5..29d27c3a 100644 --- a/docker/php/Dockerfile +++ b/docker/php/Dockerfile | |||
@@ -1,5 +1,6 @@ | |||
1 | FROM php:fpm | 1 | FROM php:fpm |
2 | 2 | ||
3 | # Default timezone. To change it, use the argument in the docker-compose.yml file | ||
3 | ARG timezone='Europe/Paris' | 4 | ARG timezone='Europe/Paris' |
4 | 5 | ||
5 | RUN apt-get update && apt-get install -y \ | 6 | RUN apt-get update && apt-get install -y \ |