mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
Simplify docker config.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
HTML_PORT=127.0.0.1:12700:12700
|
||||
COINDATA_PATH=./coindata
|
||||
COINDATA_PATH=/var/data/basicswap
|
||||
|
||||
@@ -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
6
docker/entrypoint.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
chown -R swap_user "$DATADIRS"
|
||||
exec gosu swap_user "$@"
|
||||
|
||||
Reference in New Issue
Block a user