-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraria TModLoader Server Stack #1
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Adam Hill <[email protected]>
Signed-off-by: Adam Hill <[email protected]>
@@ -0,0 +1,7 @@ | |||
#!/bin/bash | |||
set -ex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should remove -x debug
@@ -0,0 +1,7 @@ | |||
#!/bin/bash | |||
set -ex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should remove -x debug
@@ -0,0 +1,12 @@ | |||
#!/usr/bin/env sh | |||
set -ex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should remove -x debug
- SFTP_USERS # .env but not used | ||
- SFTP_PASS # .env used to setup root in enable-root-ssh | ||
# --- Custom notification scripts to let discord friends know when servers up or down | ||
discord-notify: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
disable auto-starting and sending 'test message' or modify script to just not send anything if MSG is null as a workaround to avoid using bleeding edge profile/docker-compose 2 beta features: https://stackoverflow.com/a/65957695/895792
|
||
env | ||
|
||
echo '{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test if MSG is null and don't try to send to make container noop by default.
TModLoader, SFTP matching image user id (root), curl webhook poster to discord, and shell scripts to easily notify on server going online or offline.