basicswap/docker/docker-compose.yml
2022-07-31 19:33:01 +02:00

24 lines
563 B
YAML

version: '3.4'
services:
swapclient:
image: i_swapclient
stop_grace_period: 5m
build:
context: ../
volumes:
- ${COINDATA_PATH}:/coindata
ports:
- "${HTML_PORT}" # Expose only to localhost, see .env
- "${WS_PORT}" # Expose only to localhost, see .env
environment:
- TZ
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
volumes:
coindata:
driver: local