-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (58 loc) · 1.34 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
61
62
63
64
---
volumes:
api-db-data:
analytics-db-data:
redis-db-data:
services:
apidb:
image: postgis/postgis:14-3.2-alpine
container_name: apidb
ports:
- "55432:5432"
environment:
POSTGRES_USER: passemploi
POSTGRES_PASSWORD: passemploi
POSTGRES_DB: passemploidb
volumes:
- api-db-data:/var/lib/postgresql
analyticsdb:
image: postgis/postgis:14-3.2-alpine
container_name: analyticsdb
ports:
- "55433:5432"
environment:
POSTGRES_USER: analytics
POSTGRES_PASSWORD: analytics
POSTGRES_DB: analytics
volumes:
- analytics-db-data:/var/lib/postgresql
redisdb:
image: redis:7-alpine
ports:
- "6379:6379"
volumes:
- redis-db-data:/data
command: ['redis-server', '--appendonly yes']
pgtestdb:
image: postgis/postgis:14-3.2-alpine
container_name: pgtestdb
ports:
- "56432:5432"
environment:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
POSTGRES_DB: test
redistestdb:
container_name: redistestdb
image: redis:7-alpine
ports:
- "6767:6379"
redis-commander:
container_name: redis-commander
hostname: redis-commander
image: rediscommander/redis-commander:latest
restart: always
environment:
- REDIS_HOSTS=local:redisdb:6379
ports:
- "8901:8081"