forked from CERTCC/VINCE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (64 loc) · 1.8 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: "3.8"
services:
localstack:
container_name: localstack
image: localstack/localstack:1.1.0
ports:
- "127.0.0.1:4566:4566" # LocalStack Gateway
- "127.0.0.1:4510-4559:4510-4559" # external services port range
- "127.0.0.1:53:53" # DNS config (only required for Pro)
- "127.0.0.1:53:53/udp" # DNS config (only required for Pro)
- "127.0.0.1:443:443" # LocalStack HTTPS Gateway (only required for Pro)
environment:
- SERVICES=${LOCALSTACK_SERVICES}
- DEBUG=1
- PERSISTENCE=1
- LAMBDA_EXECUTOR=local
- LOCALSTACK_API_KEY=${LOCALSTACK_API_KEY}
- DOCKER_HOST=unix:///var/run/docker.sock
- LS_LOG=${LOCALSTACK_LOG_LEVEL}
- MOCK_UNIMPLEMENTED=1
- REQUIRE_PRO=1
- IGNORE_ES_DOWNLOAD_ERRORS=1
- HOSTNAME=localstack
- HOSTNAME_EXTERNAL=localstack
volumes:
- ./volumes:/var/lib/localstack
- "/var/run/docker.sock:/var/run/docker.sock"
networks:
vince_net:
aliases:
- ${POOL_NAME}.localstack
- ${BUCKET_NAME}.s3.${REGION}.localstack
- cognito-idp.${REGION}.localstack
- ${POOL_NAME}.${REGION}.localstack
bv-postgres:
container_name: bv-postgres
image: postgres:latest
#ports:
# - "127.0.0.1:5432:5432"
environment:
- POSTGRES_PASSWORD=${POSTGRESQL_PASS}
volumes:
- ./volumes:/var/lib/localstack
networks:
- vince_net
vince:
container_name: vince
build:
context: .
dockerfile: localstackdev/Dockerfile-dev
image: vince
ports:
- "127.0.0.1:80:80"
volumes:
- ./:/opt/vince
networks:
- vince_net
env_file:
- .env
depends_on:
- localstack
- bv-postgres
networks:
vince_net: