|
10 | 10 | - [docker-compose](#docker-compose) |
11 | 11 | - [Notes for Running Using docker-compose](#notes-for-running-using-docker-compose) |
12 | 12 | - [FreeNAS / TrueNAS / FreeBSD build and run](#freenas-freebsd-build-and-run) |
| 13 | + - [Clever-Cloud deployment and run](#clever-cloud-deployment-and-run) |
13 | 14 | - [Usage](#usage) |
14 | 15 | - [Configuration](#configuration) |
15 | 16 |
|
@@ -97,6 +98,25 @@ The container needs to be restarted to apply any changes you make to *settings.j |
97 | 98 | A [FreeNAS & TrueNAS plugin](https://github.com/zorglube/iocage-plugin-movienight) had been released. You should find MovieNight into the plugin section of you management GUI. However you still can make an manual plugin deployment, documentation [here](https://github.com/freenas/iocage-ix-plugins) |
98 | 99 | If you prefer to make an Jail without using the plugin management, a script wich setup an Jail and build and run MovieNight into that Jail as been written, you'll find it here [freenas-iocage-movienight](https://github.com/zorglube/freenas-iocage-movienight) |
99 | 100 |
|
| 101 | +### Clever-Cloud deployment and run |
| 102 | +If you don't like to handle the build and run of your MovieNight instance, here is an samll manual of "how to make it run on [Clever-Cloud](https://www.clever-cloud.com)". |
| 103 | +Into your Clever-Cloud dashboard: |
| 104 | + - Create a `Go` runtime instance |
| 105 | + - Turn on the TCP redirection |
| 106 | + - Add this configuration keys: |
| 107 | + `CC_GO_BUILD_TOOL="gobuild"` Set The build method |
| 108 | + `CC_GO_PKG="github.com/zorchenhimer/MovieNight"` Set the dependencies origin |
| 109 | + `CC_PRE_RUN_HOOK="cp ${MN_BUID_CONFIG}"` |
| 110 | + `CC_RUN_COMMAND="${MN_BIN_DIR}/${MN_BIN_NAME} -l ${MN_PORT} -r ${MN_RTMP} -s ${MN_STATIC} -k ${MN_STREAM_KEY}"` The run command |
| 111 | + `MN_BIN_DIR="/home/bas/go_home/bin"` The built binary directory |
| 112 | + `MN_BIN_NAME="MovieNight"` The name of the runnable bin |
| 113 | + `MN_PORT=":8080"` The http port |
| 114 | + `MN_RTMP=":4040"` The rtmp port |
| 115 | + `MN_STATIC="${APP_HOME}/static"` The static contents dir |
| 116 | + `MN_STREAM_KEY="YourStreamKey"` Your secret stream key |
| 117 | + `MN_BUID_CONFIG="echo \"{\\\"ApprovedEmotes\\\": true, \\\"Bans\\\": [], \\\"LetThemLurk\\\": false, \\\"ListenAddress\\\": \\\":8080\\\", \\\"LogFile\\\": \\\"thelog.log\\\", \\\"LogLevel\\\": \\\"debug\\\", \\\"MaxMessageCount\\\": 300, \\\"NoCache\\\": false, \\\"NewPin\\\": true, \\\"PageTitle\\\": \\\"Movie Night\\\", \\\"RateLimitAuth\\\": 5, \\\"RateLimitChat\\\": 1, \\\"RateLimitColor\\\": 60, \\\"RateLimitDuplicate\\\": 30, \\\"RateLimitNick\\\": 300, \\\"RegenAdminPass\\\": true, \\\"RtmpListenAddress\\\": \\\":4040\\\", \\\"RoomAccess\\\": \\\"pin\\\", \\\"RoomAccessPin\\\": \\\"9445\\\", \\\"StreamKey\\\": \\\"ALongStreamKey\\\", \\\"StreamStats\\\": true, \\\"TitleLength\\\": 50, \\\"WrappedEmotesOnly\\\": true}\" >> ${MN_BIN_DIR}/settings.json"` The command that will build the `settings.json` |
| 118 | + - Try run your MovieNight instance |
| 119 | + |
100 | 120 | ## Usage |
101 | 121 | Now you can use OBS to push a stream to the server. Set the stream URL to |
102 | 122 |
|
|
0 commit comments