-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (49 loc) · 1014 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
version: '3'
services:
exchange-api:
container_name: exchange-api
env_file:
- .env
networks:
- exchange-net
depends_on:
- sqs-exchange
restart: on-failure
build:
context: .
dockerfile: Dockerfile-exchange-api
ports:
# Expose ports [HOST:CONTAINER]
- "3000:3000"
links:
- sqs-exchange
exchange-processor:
container_name: exchange-processor
env_file:
- .env
networks:
- exchange-net
depends_on:
- sqs-exchange
restart: on-failure
build:
context: .
dockerfile: Dockerfile-exchange-processor
ports:
# Expose ports [HOST:CONTAINER]
- "3001:3000"
- "80:80"
- "443:443"
links:
- sqs-exchange
sqs-exchange:
container_name: sqs-exchange
image: roribio16/alpine-sqs
networks:
- exchange-net
ports:
# Expose ports [HOST:CONTAINER]
- "9324:9324"
- "9325:9325"
networks:
exchange-net: