-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
43 lines (40 loc) · 1.18 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
version: '3.4'
services:
ruisantos.labs.localstack:
image: localstack/localstack
restart: always
environment:
- DOCKER_HOST=unix:///var/run/docker.sock
- DYNAMODB_SHARE_DB=1
- SERVICES=dynamodb:4569
- DEFAULT_REGION=us-east-1
ports:
- "127.0.0.1:4566:4566" # LocalStack Gateway
- "127.0.0.1:4510-4559:4510-4559" # external services port range
volumes:
- "./var/localstack:/var/lib/localstack"
- "./var/docker.sock:/var/run/docker.sock"
ruisantos.labs.api:
image: ${DOCKER_REGISTRY-}ruisantos.labs.api
depends_on:
- ruisantos.labs.localstack
environment:
- AWS_ACCESS_KEY_ID=docker
- AWS_SECRET_ACCESS_KEY=docker
- AWS_DEFAULT_REGION=us-east-1
- AWS_ENDPOINT_URL=http://ruisantos.labs.localstack:4566
- LABS_ALLOWED_ORIGINS=http://localhost:8002
ports:
- "8001:80"
build:
context: .
dockerfile: ./Dockerfile
ruisantos.labs.client:
image: ${DOCKER_REGISTRY-}ruisantos.labs.client
depends_on:
- ruisantos.labs.api
ports:
- "8002:80"
build:
context: ./Server/RuiSantos.Labs.Client
dockerfile: ./Dockerfile