-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 1.05 KB
/
docker-compose.yml
File metadata and controls
43 lines (40 loc) · 1.05 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
version: "3.8"
services:
localstack-snowflake:
container_name: "localstack-snowflake"
image: localstack/snowflake:latest
networks:
- localstack
ports:
- "4567:4567"
- "443:443"
environment:
- DEBUG=true # set to "true" to enable debug logging
- GATEWAY_LISTEN=0.0.0.0:4567
- LOCALSTACK_AUTH_TOKEN=${LOCALSTACK_AUTH_TOKEN:?}
- SF_HOSTNAME_REGEX=localstack-snowflake.*
healthcheck:
test: ["CMD-SHELL", "awslocal s3api list-buckets"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- "./volume/snowflake:/var/lib/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
localstack-aws:
container_name: "localstack-aws"
image: localstack/localstack:latest
ports:
- "4566:4566"
environment:
- DEBUG=${DEBUG:-0}
volumes:
- "./volume/aws:/var/lib/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
networks:
- localstack
networks:
localstack:
external: false
driver: bridge
name: localstack