Skip to content

Commit 7d1c5a2

Browse files
committed
Clever Cloud deployement test
Update stream conf for run Typo : RoomAccessPin Typ RoomAccessPin is a String RoomAccess = pin Update stream conf for run Sparate Clever Cloud config Fix config source file Revert "Fix config source file" This reverts commit 4a774f7. Revert useless diff Rename Clever-Cloud Settings Try env var MN_STREAM_KEY Try env var MN_STREAM_KEY third Open RTMP port StreamKey Return to default ports Add Clever-Cloud doc Clever CLoud settings Remove useless Update default clever cloud pin Update default clever cloud streamkey Remove Clever conf
1 parent adf00fb commit 7d1c5a2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

readme.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [docker-compose](#docker-compose)
1111
- [Notes for Running Using docker-compose](#notes-for-running-using-docker-compose)
1212
- [FreeNAS / TrueNAS / FreeBSD build and run](#freenas-freebsd-build-and-run)
13+
- [Clever-Cloud deployment and run](#clever-cloud-deployment-and-run)
1314
- [Usage](#usage)
1415
- [Configuration](#configuration)
1516

@@ -97,6 +98,25 @@ The container needs to be restarted to apply any changes you make to *settings.j
9798
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)
9899
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)
99100

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+
100120
## Usage
101121
Now you can use OBS to push a stream to the server. Set the stream URL to
102122

0 commit comments

Comments
 (0)