Hello! I’ve been enjoying the self-hosted version of Caddy via AWS for the last few days or so…and I am using the Docker version. Ever since I stopped, and started, my EC2 instance, I can no longer get the app to work. Network wise, everything seems fine, and I’ve double checked everything on the AWS side.
I notice, when running docker ps, than the Caddy file is just continuously restarting. I never saw this issue before, and everything else shows Healthy and Running (for docker containers), but this darn Caddy docker container appears to keep restarting.
I’ve recreated the Caddyfile, though it uses the same exact parameters as before, to make sure my domain works.
Is there a way to kill just the Caddy container, and recreate that, instead of everything (I don’t want to lose my DB, stories, users, etc. that have been working in there for days now)? I am not super familiar with Caddy, I just know that when I setup the Caddyfile properly, I was able to access my app just fine from my sub domain.
I’m not sure what is causing the Caddy container to stay stuck restarting, but I assume it has something to do with Stopping / Starting my AWS EC2 instance that Taiga’s been hosted in.
As part of trying to resolve this, I’ve assigned a static (Elastic) IP to my EC2 container as well, which should now never change, but I think the IP did change before that when I did the Stop/Start, so I figure if I assign an Elastic IP, I wouldn’t have to worry about this anymore. However, I need to be able to get this thing back up without restarting the entire Taiga installation process.
Any thoughts? Is it a cert related to Caddy that is recognizing the changed (now twice) IP address and I need to configure this? Where could I?
Thanks a ton, y’all.