forked from t3-innovation-network/desm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (56 loc) · 1.03 KB
/
docker-compose.yml
File metadata and controls
61 lines (56 loc) · 1.03 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:
web:
build: .
command: unset PORT && env RUBY_DEBUG_OPEN=true bundle exec bin/rails server -b 0.0.0.0 -p 3030
volumes:
- .:/app
ports:
- "3030:3030"
- "1234:1234"
depends_on:
- db
- redis
env_file:
- .env
db:
image: postgres
volumes:
- pg_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: "db"
POSTGRES_HOST_AUTH_METHOD: "trust"
css:
build: .
command: yarn watch:css
volumes:
- .:/app
ports:
- "3035:3035"
environment:
- "NODE_ENV=development"
- "RAILS_ENV=development"
env_file:
- .env
js:
build: .
command: yarn build --watch
volumes:
- .:/app
ports:
- "3036:3036"
environment:
- "NODE_ENV=development"
- "RAILS_ENV=development"
env_file:
- .env
redis:
image: "redis:7.4.6-alpine"
command: redis-server
ports:
- "6380:6379"
volumes:
- "redis:/data"
volumes:
pg_data:
redis: