-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
44 lines (43 loc) · 992 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
version: '2'
services:
dynamodb:
container_name: messenger_dynamodb
image: cnadiminti/dynamodb-local
restart: always
volumes:
- ./docker/db/dynamodb:/dynamodb_local_db
ports:
- 8000:8000
sqs:
image: s12v/elasticmq
ports:
- 9324:9324
volumes:
- ./config/elasticmq.conf:/etc/elasticmq/elasticmq.conf
sns-local:
container_name: messenger_sns
image: s12v/sns
ports:
- 9911:9911
volumes:
- ./config/db.json:/etc/sns/db.json
depends_on:
- sqs
postgresql:
container_name: messages_db
image: postgres
restart: always
ports:
- 5432:5432
volumes:
- ./config/postgresql.conf:/etc/postgresql/postgresql.conf
environment:
POSTGRES_DB: edm_database
POSTGRES_USER: edm_user
POSTGRES_PASSWORD: edm@123
command: postgres -c config_file=/etc/postgresql/postgresql.conf
adminer:
image: adminer
restart: always
ports:
- 8002:8080