-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
54 lines (54 loc) · 997 Bytes
/
docker-compose.yml
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
version: '3.7'
services:
db:
restart: always
build:
context: docker/postgresql/
dockerfile: Dockerfile
env_file: docker/postgresql/.env
expose:
- '5440'
ports:
- '5440:5432'
sqs:
image: softwaremill/elasticmq-native
ports:
- '9324:9324'
- '9325:9325'
volumes:
- './elasticmq.conf:/opt/elasticmq.conf'
s3:
restart: always
image: minio/minio
ports:
- '9000:9000'
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: 12345678
volumes:
- 's3:/data'
command: server /data
api:
depends_on:
- db
build:
context: .
dockerfile: Dockerfile
target: base
volumes:
- './src:/home/node/app/src'
- './nodemon.json:/home/node/app/nodemon.json'
expose:
- '4000'
ports:
- '4000:4000'
command: npm run dev
volumes:
api:
driver: local
sqs:
driver: local
s3:
driver: local
db:
driver: local