-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
60 lines (55 loc) · 1.2 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
48
49
50
51
52
53
54
55
56
57
58
59
60
services:
db:
container_name: "recall_server_db"
build:
context: .
dockerfile: ./docker/postgres/Dockerfile
volumes:
- postgres_data:/var/lib/postgresql/data/
- ./docker/postgres/initdb.sh:/docker-entrypoint-initdb.d/initdb.sh
ports:
- "5432:5432"
env_file:
- .env.db
networks:
recall-network: {}
pgadmin-compose:
container_name: "recall_server_pgadmin"
image: elestio/pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: "[email protected]"
PGADMIN_DEFAULT_PASSWORD: "test123!"
ports:
- "16543:80"
depends_on:
- db
volumes:
- ./servers.json:/pgadmin4/servers.json
redis:
image: "redis:7"
ports:
- "6379:6379"
volumes:
- redis_data:/data
networks:
recall-network: {}
redis-insights:
image: "redislabs/redisinsight:latest"
container_name: "recall_server_redis_insights"
ports:
- "5540:5540"
environment:
- REDIS_URI=redis://redis:6379
depends_on:
- redis
volumes:
- redisinsight:/data
networks:
recall-network: {}
volumes:
postgres_data:
redis_data:
redisinsight:
networks:
recall-network:
driver: bridge