Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Terraria TModLoader Server Stack #1

wants to merge 2 commits into from

Conversation

diginc
Copy link
Owner

@diginc diginc commented Oct 5, 2021

TModLoader, SFTP matching image user id (root), curl webhook poster to discord, and shell scripts to easily notify on server going online or offline.

diginc added 2 commits October 4, 2021 23:58
Signed-off-by: Adam Hill <[email protected]>
@@ -0,0 +1,7 @@
#!/bin/bash
set -ex
Copy link
Owner Author

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
Copy link
Owner Author

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
Copy link
Owner Author

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:
Copy link
Owner Author

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 '{
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant