Survival uses socket.io to transfer data.
version: "2.4"
services:
server:
image: y0uls/survival
container_name: survival_server
restart: always
ports:
- 8085:8085
volumes:
- ./received:/usr/src/app/received
command: ["node", "server.js"]
client:
image: y0uls/survival
container_name: survival_client
restart: always
ports:
- 8085:8085
volumes:
- ./config.json:/usr/src/app/config.json
- ./send:/usr/src/app/send
command: ["node", "client.js"]
{
"keyPass":"123456789",
"serverAddress":"192.168.0.1",
"filePath":"./send"
}
It is possible to modify the "keyPass" server directly in server.js as well as the "maxValue" value which corresponds to the number of retained files.
Content type
Image
Digest
Size
39.1 MB
Last updated
almost 7 years ago
docker pull y0uls/survival