User Tools

Site Tools


daily:2022-02-03

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
daily:2022-02-03 [2022/02/03 18:39] – [2022-02-03] chrisbolasdaily:2022-02-03 [2022/02/03 22:19] (current) – [2022-02-03] chrisbolas
Line 8: Line 8:
     * Learn how to automate the 'deploy' step of this     * 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   * 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
 +  * So the current limitations of this are:
 +    * Dockerfile must be contained in Rails folder, but so far docker-compose has been in the same folder
 +    * No way to change port of rails server so we can have several running at once
 +    * Maybe have to build new docker image for each project?
 ===== Heap: ===== ===== Heap: =====
   * [[https://serverfault.com/questions/538045/offending-key-warning-when-connecting-by-ssh-to-my-vps|Server Fault: ECDSA Host Key question]]   * [[https://serverfault.com/questions/538045/offending-key-warning-when-connecting-by-ssh-to-my-vps|Server Fault: ECDSA Host Key question]]
   * [[https://semaphoreci.com/community/tutorials/dockerizing-a-ruby-on-rails-application|Dockerizing a ruby on rails application]]   * [[https://semaphoreci.com/community/tutorials/dockerizing-a-ruby-on-rails-application|Dockerizing a ruby on rails application]]
   * [[https://www.youtube.com/watch?v=J7hUHnQtFNo|Docker Basics Rails Video]]   * [[https://www.youtube.com/watch?v=J7hUHnQtFNo|Docker Basics Rails Video]]
daily/2022-02-03.1643913543.txt.gz · Last modified: 2022/02/03 18:39 by chrisbolas