Skip to content

Commit a06b14b

Browse files
add method to change time zone
1 parent 21786c9 commit a06b14b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

bin/docker-entrypoint.sh

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# Set timezone from env
4+
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
5+
36
# Add users
47
bash /usr/bin/create-users.sh
58

docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ services:
99
shm_size: 1g
1010
environment:
1111
IDLETIME: 11
12+
TZ: "Etc/UTC"
1213
ports:
1314
- "3389:3389"
1415
- "2222:22"

0 commit comments

Comments
 (0)