Commit aee58c4
authored
Fix Timezone Handling for Containers (#375)
* Add timezone setting to template.env
Add timezone setting option to template.env
* Add timezone environment variable to services
- Add timezone environment variable to all services
- Setting Default to "UTC"
* Add PHP timezone config to docker-compose
- Add timezone configuration for PHP in docker-compose file.
- Replace PHP timezone in misp-core with the new config-file tzone.ini
Perhaps there are better solutions for changing the time zone from PHP during runtime.
* Change PHP timezone variable and set localtime
Updated PHP timezone configuration
and added symlink for timezone for supervisord.
* Fix timezone setting in PHP configuration
sed dosen´t use "?" so PHP_TIMEZONE was setting in php.ini
* Change PHP_TIMEZONE variable to use TZ
PHP_TIMEZONE wasn`t in template.env and so most not in use.
TZ Variable the global Timezone variable in this Project
* Remove tzone.ini configuration from docker-compose
Removed timezone configuration from docker-compose.
With the "sed fix" in the entrypoint_fpm.sh, No need to mount a separate file now
* Change timezone setting to use update-alternatives
Updated timezone setting method for supervisord compatibility with debian standard methode
* sed TZ:UTC to TZ:-UTC
add `-` so default (UTC) is in use, if TZ is not in use
* Change php-timezone variable to use TZ directly
* Remove PHP_TIMEZONE environment variable
PHP_timezone isn`t in use
TZ exist
* Update PHP timezone configuration to TZ in entrypoint_fpm.sh
* Update timezone comment in template.env
CET or CEST not useable timezone in /usr/share/zoneinfo/
* Update timezone setting in entrypoint.sh
Remove default value for TZ when setting timezone.1 parent fe79c58 commit aee58c4
File tree
4 files changed
+19
-4
lines changed- core/files
4 files changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
105 | 111 | | |
106 | 112 | | |
107 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| |||
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| 161 | + | |
158 | 162 | | |
159 | 163 | | |
160 | 164 | | |
| |||
318 | 322 | | |
319 | 323 | | |
320 | 324 | | |
321 | | - | |
322 | 325 | | |
323 | 326 | | |
324 | 327 | | |
| |||
348 | 351 | | |
349 | 352 | | |
350 | 353 | | |
| 354 | + | |
| 355 | + | |
351 | 356 | | |
352 | 357 | | |
353 | 358 | | |
| |||
366 | 371 | | |
367 | 372 | | |
368 | 373 | | |
| 374 | + | |
369 | 375 | | |
370 | 376 | | |
371 | 377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| |||
0 commit comments