-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-qa.yml
48 lines (44 loc) · 997 Bytes
/
docker-compose-qa.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
version: '3.3'
services:
### postgres container
cabelusqa-postgres:
image: postgres
container_name: cabelusqa-postgres
ports:
- "5434:5432"
networks:
- cabelusqa
volumes:
- ./postgresqa:/var/lib/postgresql/data
environment:
- POSTGRES_DB=cabelusqa
- POSTGRES_USER=root
- POSTGRES_PASSWORD=cabelusqa@789
- TZ=America/Sao_Paulo
### pgadmin container
cabelusqa-pgadmin:
image: dpage/pgadmin4
ports:
- 8082:80
environment:
- PGADMIN_DEFAULT_PASSWORD=cabelusqa@789
depends_on:
- cabelusqa-postgres
links:
- cabelusqa-postgres
networks:
- cabelusqa
cabelusqa-redis:
image: redis:alpine
container_name: cabelusqa-redis
command: ["redis-server", "--appendonly", "yes"]
volumes:
- ./redisqa:/data
ports:
- 6381:6379
networks:
- cabelusqa
networks:
cabelusqa:
driver: bridge