Simplify docker config.

This commit is contained in:
tecnovert
2020-12-02 23:19:10 +02:00
parent 8c9105ce01
commit 3bbb483a0a
8 changed files with 52 additions and 34 deletions

View File

@@ -1,2 +1,2 @@
HTML_PORT=127.0.0.1:12700:12700
COINDATA_PATH=./coindata
COINDATA_PATH=/var/data/basicswap

View File

@@ -2,12 +2,10 @@ version: '3'
services:
swapclient:
image: i_swapclient
stop_grace_period: 5m
build:
context: ../
args:
- WITH_COINS=--withcoins=monero
- WITHOUT_COINS=--withoutcoins=litecoin
volumes:
- ${COINDATA_PATH}:/coindata
ports:

6
docker/entrypoint.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
set -e
chown -R swap_user "$DATADIRS"
exec gosu swap_user "$@"