mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
docker: Set timezone in TZ env var.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
HTML_PORT=127.0.0.1:12700:12700
|
||||
#COINDATA_PATH=/var/data/coinswaps
|
||||
TZ=UTC
|
||||
|
||||
@@ -10,6 +10,8 @@ services:
|
||||
- ${COINDATA_PATH}:/coindata
|
||||
ports:
|
||||
- "${HTML_PORT}" # Expose only to localhost, see .env
|
||||
environment:
|
||||
- TZ
|
||||
|
||||
volumes:
|
||||
coindata:
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
HTML_PORT=127.0.0.1:12700:12700
|
||||
TZ=UTC
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user