Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Latest commit

 

History

History
31 lines (22 loc) · 678 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 678 Bytes

Docker Image CI

depends on

  • direnv
  • docker
  • docker-compose

start

$ mv .envrc.sample .envrc
$ direnv allow
$ docker-compose up -d

development(rails)

$ docker exec -it gishohub_rails_1 bash
/rails$ ./bin/rails s -b 0.0.0.0

docker containers

  • rails: backend server
  • nginx: frontend server. it works as proxy to rails server and serve frontend contents.
  • front: nuxt.js container.
    • in development environment, work as dev server.
    • in production environment, it generate static built content using 'nuxt generate'. The contents are served by nginx container.