# transfer.zip

An awesome way to quickly and securely send/receive HUGE file transfers. Walkthrough here.

# Quick install

In one tmux session:

sudo docker compose build && sudo docker compose up

# Run with a Caddyfile

# Caddy config file sample (original)

# Caddy config file with xcaddy integration

Setup xcaddy, then setup a Caddyfile similar to:

mydomain.com {
        # Proxy websocket signaling endpoint
        reverse_proxy /ws* http://127.0.0.1:9002

        # Proxy everything else to Next.js (frontend/backend)
        reverse_proxy http://127.0.0.1:9001
}

Then run this to make it all sing:

CF_API_TOKEN=xxx sudo --preserve-env=CF_API_TOKEN ./caddy run --config ./Caddyfile

Read the xcaddy page and this GitHub issue for more information.

# Update

cd ~/folder-where-transfer.zip-is

# shut the container down
sudo docker-compose down

# get updates
git pull

# fire it back up again
sudo docker compose build && sudo docker compose up