-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathcompose.yml
More file actions
56 lines (55 loc) · 1.07 KB
/
Copy pathcompose.yml
File metadata and controls
56 lines (55 loc) · 1.07 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
services:
app:
container_name: api
image: matters-server:latest
build:
context: .
command: ['npm', 'run', 'start:dev']
env_file: .env
volumes:
- .:/var/app
- /var/app/node_modules
depends_on:
- db
- redis
- objectCacheRedis
- s3
- stripe
ports:
- '4000:4000'
db:
image: postgres:15
container_name: db
environment:
- POSTGRES_DB=matters-dev
- POSTGRES_PASSWORD=postgres
volumes:
- postgres_data:/var/lib/postgresql/data/
ports:
- '5432:5432'
redis:
image: redis
container_name: redis
ports:
- '6379:6379'
restart: always
objectCacheRedis:
image: redis
container_name: objectCacheRedis
command: ['redis-server', '--port', '6380']
ports:
- '6380:6380'
restart: always
s3:
container_name: s3
image: lphoward/fake-s3
ports:
- '4569:4569'
stripe:
container_name: stripe
image: stripemock/stripe-mock:latest
ports:
- '12111:12111'
- '12112:12112'
volumes:
postgres_data: