File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 1- # Releases
1+ ## Releases
22
3- ## 1.0 Docker to Rails using rbenv
3+ ### 1.0 Docker to Rails using rbenv
44
55Build several containers to run Rails Application, the main features are:
66
@@ -9,9 +9,9 @@ Build several containers to run Rails Application, the main features are:
99- Using links and environment's variables in docker-compose.
1010- Persist MySQL data in volumes.
1111
12- ### Build the project
12+ #### Build the project
1313
14- Create container only data
14+ ##### Create container only data
1515
1616```
1717docker run -v /var/lib/mysql --name mysql_data busybox true
@@ -21,17 +21,15 @@ Start containers with docker-composer
2121docker-compose up
2222```
2323
24- ### Database config
25-
26- #### Create database
24+ ##### Create database
2725```
2826docker-compose run web bundle exec rake db:create
2927```
30- #### Create tables
28+ ##### Create tables
3129```
3230docker-compose run web bundle exec rake db:migrate
3331```
34- #### Import data test
32+ ##### Import data test
3533```
3634docker-compose run web bundle exec rake db:seed
3735```
You can’t perform that action at this time.
0 commit comments