forked from ohcnetwork/care
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
43 lines (38 loc) · 909 Bytes
/
docker-compose.yaml
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
networks:
default:
name: care
services:
db:
image: postgres:alpine
restart: unless-stopped
env_file:
- ./docker/.prebuilt.env
volumes:
- postgres-data:/var/lib/postgresql/data
- ${BACKUP_DIR:-./care-backups}:/backups
ports:
- "5433:5432"
redis:
image: redis/redis-stack-server:6.2.6-v10
restart: unless-stopped
volumes:
- redis-data:/data
ports:
- "6380:6379"
localstack:
image: localstack/localstack:latest
restart: unless-stopped
environment:
- AWS_DEFAULT_REGION=ap-south-1
- EDGE_PORT=4566
- SERVICES=s3
- EXTRA_CORS_ALLOWED_ORIGINS=*
- EXTRA_CORS_ALLOWED_HEADERS=*
volumes:
- "${TEMPDIR:-./care/media/localstack}:/var/lib/localstack"
- "./docker/awslocal:/etc/localstack/init/ready.d/"
ports:
- "4566:4566"
volumes:
postgres-data:
redis-data: