Dockerised version of the C3 project.
Uses dotnet-runtime and wine on linux to run the C3 web app, downloads the first gateway and runs it with wine.
-
Download and compile/grab a compiled version of the C3 project.
-
Store it in the root directory of this repo as "C3" (eg
unzip ~/C3-0.1.19861a4c.zip && mv C3-0.1.19861a4c C3) -
build the image
docker build -t c3 .
-
Run
./build_server.sh <id> -
Once completed:
-
A C3 server will be accessible on http://localhost:500$id
-
A folder will be created for that C3 instance in ./data/c3_server_$id
-
To view Gateway logs execute
tail -f ./data/c3_server_$id/gateway/gateway.log -
To upload customised relay executables for new relays simply move them to ./data/c3_server_$id/Bin
- If the Gateway errors for some reason, you can run
docker restart c3_server_$id, the network will not be deleted.