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

Assistance: Modifying Environment after already starting up the server #21

Closed
samuelzapote opened this issue May 4, 2021 · 2 comments
Closed

Comments

@samuelzapote
Copy link

Hello Team, big thanks to all the work you do! I really appreciate it.
I was hoping to get some assistance or documentation on some doubts i'm having.

I am trying to add the environment variable event hooks documented here on docker hub. But I believe in order to do so I need to modify the docker environment variables.

I was wondering if anyone could help me by pointing me in the right direction or with some documentation I can read up on to accomplish the following.

  1. I want to be able to stop the docker container without losing my game files / saved world.
  2. My understanding is that once I stop the container, I can then go in to "modify" the docker environment variables. I read on another issue posted that I can access the ECS files / docker container using AWS Transfer Family . I can handle that part, but will accessing this file system allow me to modify the docker file, and will I be able to ensure that I modify those files while the task/docker container is stopped?

Big thanks for any help in advance. 😄 spectacular work on this project!

@rileydakota
Copy link
Owner

Hi @samuelzapote - thanks for using the template! You can add new environment variables by modifying the code here:

If you only change the environment variables - you shouldn't experience any loss of game files/world - as the server save file is saved on the EFS volume. In addition to this - the EFS volume has a deletion policy on it so it will not be lost in the event you decide to delete the cloudformation stack. You shouldn't need to modify anything on the container itself to accomplish this. Let me know if you run into issues!

@samuelzapote
Copy link
Author

This really helped! Thank You. Closing this issue given that it's been resolved.

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

No branches or pull requests

2 participants