-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (47 loc) · 1.33 KB
/
docker-compose.yml
File metadata and controls
49 lines (47 loc) · 1.33 KB
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
version: "2.1"
services:
localstack_main:
container_name: localstack_main
hostname: localstack_main
image: localstack/localstack
ports:
- "4566:4566"
- "4571:4571"
- "${PORT_WEB_UI-8080}:${PORT_WEB_UI-8080}"
environment:
- SERVICES=${SERVICES- }
- DEBUG=${DEBUG- }
- DATA_DIR=${DATA_DIR- }
- PORT_WEB_UI=${PORT_WEB_UI- }
- LAMBDA_EXECUTOR=docker
- KINESIS_ERROR_PROBABILITY=${KINESIS_ERROR_PROBABILITY- }
- DOCKER_HOST=unix:///var/run/docker.sock
- LAMBDA_REMOTE_DOCKER=false
- HOST_TMP_FOLDER=/tmp/localstack
- AWS_DEFAULT_REGION=us-east-1
- LAMBDA_DOCKER_NETWORK=localstackreverseproxy_lntk
volumes:
- "${TMPDIR:-/tmp/localstack}:/tmp/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
networks:
- lntk
reverse:
container_name: reverse
hostname: reverse
image: nginx
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d
- ./nginx/ssl:/etc/nginx/certs
networks:
lntk:
aliases:
- s3.amazonaws.com
- sts.amazonaws.com
- dynamodb.us-east-1.amazonaws.com
- sns.us-east-1.amazonaws.com
- ssm.us-east-1.amazonaws.com
- states.us-east-1.amazonaws.com
- mybucket.s3.amazonaws.com
networks:
lntk:
driver: bridge