forked from twilio-labs/receptionist-bot-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
38 lines (35 loc) · 857 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
version: '3.8'
networks:
local:
services:
localstack: # https://github.com/localstack/localstack/blob/master/docker-compose.yml
image: "localstack/localstack:0.13.0.8"
networks:
- local
build:
context: .
dockerfile: dockerfiles/Dockerfile.localstack
container_name: localstack
ports:
- "4566:4566"
- "4571:4571"
environment:
- SERVICES=dynamodb
receptionist:
container_name: receptionist-bot-rs
image: "receptionist:local"
networks:
- local
build:
context: .
dockerfile: dockerfiles/Dockerfile.local
cache_from:
- "receptionist:local"
ports:
- '3000:3000'
env_file:
- .env
depends_on:
- localstack
restart: on-failure
entrypoint: ["rec_server", "--aws-endpoint-url", "http://localstack:4566", "--fake"]