File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change 1- # Docker with Rails App
2- Project to deploy apps with rails.
1+ # Releases
2+
3+ ## 1.0 Docker to Rails using rbenv
34
4- > ** Features: **
5+ Build several containers to run Rails Application, the main features are:
56
6- > - Rbenv.
7- > - Mysql.
8- > - Redis.
9- > - memcached.
10- > - Nginx.
11- > - Puma.
12- > - Foreman.
7+ - Build an own Dockerfile for how to work with Docker.
8+ - Working with multiples containers using docker-compose.
9+ - Using links and environment's variables in docker-compose.
10+ - Persist MySQL data in volumes.
1311
1412### Build the project
1513
1614Create container only data
15+
1716```
1817docker run -v /var/lib/mysql --name mysql_data busybox true
1918```
@@ -22,10 +21,8 @@ Start containers with docker-composer
2221docker-compose up
2322```
2423
25- ### Preview
26- ![ Preview] ( https://raw.githubusercontent.com/kalelc/docker-compose-rails/master/img/example.png )
27-
2824### Database config
25+
2926#### Create database
3027```
3128docker-compose run web bundle exec rake db:create
You can’t perform that action at this time.
0 commit comments