-
Create
backend
network:docker network create backend
-
Go to
docker
folder and copy required files to the names which are ignored by.gitignore
file in order to customize them:cd docker cp docker-compose.sample.yml docker-compose.yml cp docker-compose.sample.env docker-compose.env cp docker.postgres.sample.env docker.postgres.env
-
Build image and run a container:
docker-compose build docker-compose up -d
-
Check it out:
curl localhost:3000 # => {"app_name":"rails-api-boilerplate"}
dansari88 / rails-api-boilerplate Goto Github PK
View Code? Open in Web Editor NEWThis project forked from alisepehri/rails-api-boilerplate
Rails Api Boilerplate