mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
adding TZ variable to docker images open
This commit is contained in:
parent
6e5f4ef20a
commit
b2b057d819
@ -32,6 +32,7 @@ services:
|
|||||||
PUBLICURL: ""
|
PUBLICURL: ""
|
||||||
SLEEP: 5
|
SLEEP: 5
|
||||||
RETRIES: 10
|
RETRIES: 10
|
||||||
|
TZ: 'Europe/Madrid'
|
||||||
networks:
|
networks:
|
||||||
- pandora
|
- pandora
|
||||||
ports:
|
ports:
|
||||||
|
@ -10,6 +10,8 @@ ENV DBPORT=3306
|
|||||||
ENV SLEEP=5
|
ENV SLEEP=5
|
||||||
ENV RETRIES=1
|
ENV RETRIES=1
|
||||||
ENV OPEN=1
|
ENV OPEN=1
|
||||||
|
ENV TZ='Europe/Madrid'
|
||||||
|
|
||||||
|
|
||||||
ENV LC_ALL=C
|
ENV LC_ALL=C
|
||||||
|
|
||||||
|
@ -230,6 +230,10 @@ fi
|
|||||||
echo "" > /opt/pandora/crontasks || touch /opt/pandora/crontasks
|
echo "" > /opt/pandora/crontasks || touch /opt/pandora/crontasks
|
||||||
|
|
||||||
|
|
||||||
|
#set localtime
|
||||||
|
rm -rf /etc/localtime
|
||||||
|
ln -s /usr/share/zoneinfo/$TZ /etc/localtime
|
||||||
|
|
||||||
#install pandora packages
|
#install pandora packages
|
||||||
echo "-> Istalling pandorafms"
|
echo "-> Istalling pandorafms"
|
||||||
cd /opt/pandora
|
cd /opt/pandora
|
||||||
|
Loading…
x
Reference in New Issue
Block a user