Example: python3 ./scripts/build_yml_files.py -c bitcoin monero dash pivx --withscript2024-05-20_merge
parent
ea8cc70696
commit
484d811fe7
5 changed files with 41 additions and 10 deletions
@ -0,0 +1,23 @@ |
||||
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", "basicswap/scripts/createoffers.py", |
||||
"--host", "swapclient", |
||||
"--port", "${HTML_PORT}", |
||||
"--configfile", "/data/createoffers.json", |
||||
"--statefile", "/data/createoffers_state.json"] |
Loading…
Reference in new issue