basicswap/docker/production/compose-fragments/8_swapclient.yml
tecnovert 484d811fe7
docker: Add script container fragment.
Example:
python3 ./scripts/build_yml_files.py -c bitcoin monero dash pivx --withscript
2023-03-09 15:38:45 +02:00

24 lines
718 B
YAML

swapclient:
image: i_swapclient
build:
context: swapclient
dockerfile: Dockerfile
container_name: swapclient
volumes:
- ${DATA_PATH}/swapclient:/data
expose:
- "${HTML_PORT}"
- "${WS_PORT}"
ports:
- "127.0.0.1:${HTML_PORT}:${HTML_PORT}" # Expose only to localhost
- "127.0.0.1:${WS_PORT}:${WS_PORT}" # Expose only to localhost
environment:
- TZ
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
depends_on:
- particl_core
restart: unless-stopped