2022-07-09 21:58:40 +00:00
|
|
|
swapclient:
|
|
|
|
image: i_swapclient
|
|
|
|
build:
|
|
|
|
context: swapclient
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
container_name: swapclient
|
|
|
|
volumes:
|
|
|
|
- ${DATA_PATH}/swapclient:/data
|
2023-03-09 13:32:54 +00:00
|
|
|
expose:
|
|
|
|
- "${HTML_PORT}"
|
|
|
|
- "${WS_PORT}"
|
2022-07-09 21:58:40 +00:00
|
|
|
ports:
|
2023-03-09 13:32:54 +00:00
|
|
|
- "127.0.0.1:${HTML_PORT}:${HTML_PORT}" # Expose only to localhost
|
|
|
|
- "127.0.0.1:${WS_PORT}:${WS_PORT}" # Expose only to localhost
|
2022-07-09 21:58:40 +00:00
|
|
|
environment:
|
|
|
|
- TZ
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "10m"
|
|
|
|
max-file: "5"
|
|
|
|
depends_on:
|
|
|
|
- particl_core
|
|
|
|
restart: unless-stopped
|