Mistakes
- Forgot to open ports 80/443 in the server security group, which made the site inaccessible the whole time—pretty dumb of me 😭
Minor Tweaks
- Modified parts of docker-compose.yml.
ports:
#-'2333:2333' changed the docker port mapping so the port is not exposed
- '127.0.0.1:2333:2333'
Tips
1. Reverse Proxy
Using 1Panel as an example:
- Create a static site
- Set up HTTPS and SSL certificates
- Open the static site's config file and paste the reverse proxy code before the last
}(most likely after"max-age=xxx";) - Done

Changes from the Official Docs
- The docker compose command has changed to: docker-compose