-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
46 lines (42 loc) · 1.19 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
version: '2'
services:
redis: # Name of container
image: redis:latest
restart: always
ports:
- 6380:6379
networks:
- shared-network
postgres: # Name of container
image: postgres:alpine
restart: always
env_file:
- .env.local
environment:
POSTGRES_HOST_AUTH_METHOD: 'trust'
TZ: 'Asia/Seoul' # Timezone for OS
PGTZ: 'Asia/Seoul' # Timezone for postgres
ports:
- 5433:5432
networks:
- shared-network
localstack:
container_name: 'localstack-quickarchive'
image: localstack/localstack:latest
ports:
- '4567:4566' # Default port forward
environment:
- SERVICES=s3
- EDGE_PORT=4566
- DEBUG=1 # Debug level 1 if you want to logs, 0 if you want to disable
- START_WEB=0 # Flag to control whether the Web UI should be started in Docker
- AWS_ACCESS_KEY_ID=local
- AWS_SECRET_ACCESS_KEY=local
- DEFAULT_REGION=ap-northeast-2
volumes:
- './.localstack:/var/lib/localstack'
- '/var/run/docker.sock:/var/run/docker.sock'
- './localstack_s3_init.sh:/etc/localstack/init/ready.d/localstack_s3_init.sh'
networks:
shared-network:
driver: bridge