Server taken down due to cost
I have been using Chat GPT when planning logistics for hiking national parks. Since national parks don't change much, I query'd & saved hiking advice from Chat GPT for over 100+ national parks around the world.
I wrote documentation to query OpenAI & save results to JSON, CSV, and Postgres DB. The model I queried was Chat GPT 3.5
Deploy occurs on every merged pull request on the main branch. I send my zipped docker-compose.yml file to AWS & it builds my public Docker images. The docker-compose.yml
file is set as the deployment_package
in my ./.github/worfklows/main.yml
. This is used by the Beanstalk Deploy action.
-
I added a Nginx server to my React Frontend Container. This listens on port 3000 & serves production assets from npm run build.
-
I forced HTTPS over HTTP in my default.conf for my application Nginx server.
I implemented Semantic React UI on client side + an Express/PostgresDB API.
Build multi-container application locally (application will be available locally on http://localhost:81)
docker compose -f docker-compose-dev.yml up --build
ssh - ./Path/To/EC2/SSH/Key/Pair ec2-user@{Your_EC2_Public_IPv4_DNS_Here}
docker exec -it {backend_container_name_here} node seed/drop.js
docker exec -it {backend_container_name_here} node seed/seed.js