forked from bsoc-bitbyte/busify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
43 lines (41 loc) · 956 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
version: '3.9'
services:
postgres-db:
image: postgres
container_name: postgres
ports:
- '5432:5432'
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: busify
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- busify-test-network
# redis:
# image: redis:alpine
# container_name: redis
# ports:
# - '6379:6379'
# command: redis-server --requirepass ${REDIS_PASSWORD} --loglevel warning
# volumes:
# - redis-data:/data
# networks:
# - busify-test-network
redis-stack:
image: redis/redis-stack:latest
container_name: redis-stack
ports:
- '6379:6379'
- '8001:8001'
environment:
REDIS_ARGS: "--requirepass ${REDIS_PASSWORD} --loglevel warning"
networks:
- busify-test-network
networks:
busify-test-network:
driver: bridge
volumes:
postgres-data:
# redis-data: