docker: Set timezone in TZ env var.

This commit is contained in:
tecnovert
2021-02-14 15:06:46 +02:00
parent 3217918f7c
commit d6a1ff6030
8 changed files with 21 additions and 6 deletions

View File

@@ -1,2 +1,3 @@
HTML_PORT=127.0.0.1:12700:12700
#COINDATA_PATH=/var/data/coinswaps
TZ=UTC

View File

@@ -10,6 +10,8 @@ services:
- ${COINDATA_PATH}:/coindata
ports:
- "${HTML_PORT}" # Expose only to localhost, see .env
environment:
- TZ
volumes:
coindata:

View File

@@ -1 +1,2 @@
HTML_PORT=127.0.0.1:12700:12700
TZ=UTC

View File

@@ -61,6 +61,8 @@ services:
- /var/swapdata/swapclient:/data
ports:
- "${HTML_PORT}" # Expose only to localhost, see .env
environment:
- TZ
depends_on:
- particl_core
restart: unless-stopped

View File

@@ -5,7 +5,7 @@ ENV LANG=C.UTF-8 \
DATADIR=/data
RUN apt-get update; \
apt-get install -y wget python3-pip gnupg unzip protobuf-compiler automake libtool pkg-config gosu;
apt-get install -y wget python3-pip gnupg unzip protobuf-compiler automake libtool pkg-config gosu tzdata;
RUN wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/anonswap.zip && \
unzip coincurve-anonswap.zip && \