-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 815 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (34 loc) · 815 Bytes
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
version: '3.8'
services:
aws:
image: localstack/localstack:2.1.0-arm64
ports:
- 54566:4566
environment:
SERVICES: dynamodb,s3
DEFAULT_REGION: ap-northeast-1
TZ: UTC
volumes:
# ready hook
- "$PWD/backend/docker/localstack/init-aws.sh:/etc/localstack/init/ready.d/init-aws.sh"
- 'localstack-data:/tmp/localstack'
backend:
build:
context: $PWD/backend
dockerfile: $PWD/backend/docker/Dockerfile
entrypoint: "air -c .air.toml"
environment:
AWS_ACCESS_KEY_ID: "XXXX"
AWS_SECRET_ACCESS_KEY: "XXXX"
TZ: UTC
volumes:
- $PWD/backend:/app
env_file:
- $PWD/backend/.env.local
ports:
- "6500:6500"
depends_on:
aws:
condition: service_started
volumes:
localstack-data: {}