We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64182af commit d2034c2Copy full SHA for d2034c2
docker-compose.yml
@@ -1,15 +1,35 @@
1
-version: '3'
+version: "3"
2
services:
3
app:
4
build:
5
context: .
6
args:
7
RAILS_ENV: ${RAILS_ENV:-development}
8
+ depends_on:
9
+ - vite
10
+ environment:
11
+ VITE_RUBY_HOST: vite
12
+ ports:
13
+ - "3000:3000"
14
volumes:
- - '.:/app'
15
+ - ".:/app"
16
- /app/node_modules
17
+
18
+ vite:
19
+ build:
20
+ context: .
21
+ args:
22
+ RAILS_ENV: ${RAILS_ENV:-development}
23
+ entrypoint: bin/vite dev
24
25
+ DEBUG: "*vite*"
26
+ RAILS_ENV: development
27
+ VITE_RUBY_HOST: 0.0.0.0
28
ports:
- - '3000:3000'
29
+ - "3036:3036"
30
+ volumes:
31
+ - .:/app
32
+ - /app/node_modules
33
34
muffet:
35
depends_on:
0 commit comments