daily:2022-02-03
This is an old revision of the document!
2022-02-03
- Did some minimal research on containerizing a rails app
- Research / Experiment on ram usage for rails app. Thrifty shopper ~120mb ram. Just node command ~40mb
- Logged in to VPS using duckdns.org url and got caught up in an ECDSA host key issue. Turned out to be just removing the single line key did allow me to both log in using keys through IP as well as URL
- What is my goal here with dockerizing my rails app?
- Work well with SWAG container for security's sake
- Learn more about docker, docker-compose, and it's benefits
- Learn how to automate the 'deploy' step of this
- Looks like using the base ruby:3.1-alpine docker container should be helpful to get started. I'm trying to figure out what the best way to keep it modular is. So I can just start it with an ENV variable for port and since it won't ever be exposed to the outside world I should be able to just set it up in the docker-compose file
- Successfully got the database to come up as well as the basic Dockerfile I made. However the database wasn't seeded, which would be convenient. I suppose you wouldn't want that for your production server
Heap:
daily/2022-02-03.1643919192.txt.gz · Last modified: 2022/02/03 20:13 by chrisbolas
