Merge branch 'ent-11175-meter-como-variable-de-entorno-en-docker-el-timezone' into 'develop'

adding TZ variable to docker images open

See merge request artica/pandorafms!6341
This commit is contained in:
Rafael Ameijeiras 2023-08-17 12:47:53 +00:00
commit 94d118fc95
3 changed files with 7 additions and 0 deletions

View File

@ -32,6 +32,7 @@ services:
PUBLICURL: ""
SLEEP: 5
RETRIES: 10
TZ: 'Europe/Madrid'
networks:
- pandora
ports:

View File

@ -10,6 +10,8 @@ ENV DBPORT=3306
ENV SLEEP=5
ENV RETRIES=1
ENV OPEN=1
ENV TZ='Europe/Madrid'
ENV LC_ALL=C

View File

@ -230,6 +230,10 @@ fi
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
echo "-> Istalling pandorafms"
cd /opt/pandora