-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
47 lines (44 loc) · 1.15 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
services:
db:
image: postgres:15
ports:
- 5432:5432
volumes:
- data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- DB_HOST=${DB_HOST}
- DB_USERNAME=${DB_USERNAME}
container_name: staffplan-postgres
redis:
image: redis
ports:
- 6379:6379
volumes:
- redis:/var/lib/redis/data
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- DB_HOST=${DB_HOST}
- DB_USERNAME=${DB_USERNAME}
container_name: staffplan-redis
# localstack:
# image: localstack/localstack
# ports:
# - "127.0.0.1:4566:4566"
# - "127.0.0.1:4510-4559:4510-4559"
# environment:
# - SERVICES=s3
# - DEBUG=1
# - PERSISTENCE=${PERSISTENCE-}
# - DOCKER_HOST=unix:///var/run/docker.sock
# - BUCKET_NAME=staffplan-redux
# volumes:
# - "${LOCALSTACK_VOLUME_DIR:-./tmp/volume}:/var/lib/localstack"
# - "/var/run/docker.sock:/var/run/docker.sock"
# - ./localstack-init:/etc/localstack/init/ready.d/init-s3.sh
# command: localstack.sh
# container_name: staffplan-localstack
volumes:
bundle_path:
redis:
data: