mirror of
https://github.com/basicswap/basicswap.git
synced 2024-12-23 20:09:25 +00:00
89e0080173
Start python in unbuffered mode.
23 lines
760 B
YAML
23 lines
760 B
YAML
swapscript:
|
|
image: i_swapclient
|
|
build:
|
|
context: swapclient
|
|
dockerfile: Dockerfile
|
|
container_name: swapscript
|
|
volumes:
|
|
- ${DATA_PATH}/scripts:/data
|
|
environment:
|
|
- TZ
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "5"
|
|
depends_on:
|
|
- swapclient
|
|
restart: unless-stopped
|
|
command: ["/usr/bin/python3", "-u", "basicswap/scripts/createoffers.py",
|
|
"--host", "swapclient",
|
|
"--port", "${HTML_PORT}",
|
|
"--configfile", "/data/createoffers.json",
|
|
"--statefile", "/data/createoffers_state.json"]
|