Skip to content

Instantly share code, notes, and snippets.

@NothingCtrl
Created September 6, 2023 08:28
Show Gist options
  • Save NothingCtrl/4e6408e56318b91c1b6e2366d0a17806 to your computer and use it in GitHub Desktop.
Save NothingCtrl/4e6408e56318b91c1b6e2366d0a17806 to your computer and use it in GitHub Desktop.
Docker compose for `croc` relay server
version: '3.1'
services:
croc-relay:
image: schollz/croc
restart: always
container_name: croc-relay
ports:
- 9009-9013:9009-9013
environment:
- CROC_PASS=hello
network_mode: bridge
@NothingCtrl
Copy link
Author

Send:

croc --relay your-server-address --pass your-pass send /path/to-send-file

Receive:

croc --relay your-server-address --pass your-pass unique-code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment