This repository has been archived by the owner on Jun 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
107 lines (98 loc) · 2.17 KB
/
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
version: "3"
services:
yarn:
image: node
working_dir: /workspace
volumes:
- ./:/workspace
entrypoint: yarn
db:
image: postgres:10
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
- POSTGRES_DB=er
mailhog:
image: mailhog/mailhog
logging:
driver: none
ports:
- 8025:8025
sqs:
image: s12v/elasticmq
volumes:
- ./config/elasticmq:/etc/elasticmq
s3:
image: minio/minio
ports:
- 9000:9000
volumes:
- ./.data:/data
environment:
- MINIO_ACCESS_KEY=accessKey
- MINIO_SECRET_KEY=secretKey
command: server data
pgweb:
image: sosedoff/pgweb
ports:
- 8081:8081
environment:
- DATABASE_URL=postgres://root:root@db:5432/av?sslmode=disable
- AUTH_USER=user
- AUTH_PASS=password
depends_on:
- db
mailer:
image: node
working_dir: /workspace/packages/mailer
volumes:
- ./:/workspace
environment:
- ASSETS_URL=https://stage.etelaranta.com
- QUEUE_URL=http://sqs:9324/queue/mailer
- QUEUE_KEY=test
- QUEUE_SECRET=test
- QUEUE_REGION=us-east-1
entrypoint: yarn run dev
depends_on:
- mailhog
- sqs
smser:
image: node
working_dir: /workspace/packages/smser
volumes:
- ./:/workspace
environment:
- QUEUE_URL=http://sqs:9324/queue/smser
- QUEUE_KEY=test
- QUEUE_SECRET=test
- QUEUE_REGION=us-east-1
entrypoint: yarn run dev
depends_on:
- sqs
swt-gateway:
image: node
working_dir: /workspace/packages/swt-gateway
volumes:
- ./:/workspace
entrypoint: yarn run dev
ports:
- "3000:3000"
environment:
- MAILER_QUEUE_URL=http://sqs:9324/queue/mailer
- MAILER_QUEUE_KEY=test
- MAILER_QUEUE_SECRET=test
- SMSER_QUEUE_URL=http://sqs:9324/queue/smser
- SMSER_QUEUE_KEY=test
- SMSER_QUEUE_SECRET=test
- FILES_REGION=us-east-1
- FILES_ENDPOINT=http://s3:9000
- FILES_ACCESS_KEY=accessKey
- FILES_SECRET_KEY=secretKey
- FILES_BUCKET=dev
depends_on:
- db
- s3
- sqs
- smser
- mailer