File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,7 @@ $ docker-compose run backend bundle exec rake db:create
25
25
$ docker-compose up -d
26
26
27
27
# Open frontend
28
- $ open http://localhost:80 # You'll see yaichi page
29
- # or
30
- $ open http://frontend.localhost
28
+ $ open http://localhost:80 # You'll see yaichi page, then click any app
31
29
32
30
# Check backend API
33
31
$ curl -H ' Host: backend.localhost' http://localhost/greetings/hello
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ services:
11
11
command : bundle exec rails s -p 3000 -b '0.0.0.0'
12
12
volumes :
13
13
- ./backend:/myapp/backend
14
- ports :
15
- - " 3001:3000"
16
14
depends_on :
17
15
- db
18
16
frontend :
@@ -22,8 +20,6 @@ services:
22
20
working_dir : /myapp/frontend
23
21
volumes :
24
22
- ./frontend:/myapp/frontend
25
- ports :
26
- - " 3000:3000"
27
23
command : " yarn start"
28
24
depends_on :
29
25
- backend
You can’t perform that action at this time.
0 commit comments