-
Notifications
You must be signed in to change notification settings - Fork 302
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (58 loc) · 1.12 KB
/
docker-compose.yml
File metadata and controls
61 lines (58 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: "3"
services:
app:
build:
context: .
target: runtime
args:
RAILS_ENV: ${RAILS_ENV:-development}
depends_on:
- vite
environment:
VITE_RUBY_HOST: vite
RAILS_LOG_TO_STDOUT: yes
ports:
- "3000:3000"
volumes:
- ".:/app"
- /app/node_modules
- /app/public/docs
vite:
build:
context: .
target: runtime
args:
RAILS_ENV: ${RAILS_ENV:-development}
entrypoint: bin/vite dev
environment:
DEBUG: "*vite*"
RAILS_ENV: development
VITE_RUBY_HOST: 0.0.0.0
ports:
- "3036:3036"
volumes:
- .:/app
- /app/node_modules
muffet:
depends_on:
- app
build:
context: .
target: muffet
entrypoint:
- /work/muffet.rb
working_dir: /work
volumes:
- .buildkite/steps:/work
environment:
BUILDKITE: ${BUILDKITE:-false}
deploy-preview:
build:
context: .
target: deploy-preview
args:
RAILS_ENV: ${RAILS_ENV:-development}
volumes:
- ".:/app"
- /app/node_modules
- /app/public/docs