-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (43 loc) · 1 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
version: '3.8'
services:
postgres:
image: postgres:latest
container_name: integration_tests_postgres
ports:
- '5434:5432'
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin
POSTGRES_DB: integration_tests_database
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- integration_tests_network
redis:
image: redis:latest
container_name: integration_tests_redis
ports:
- '6379:6379'
command: redis-server --requirepass '' --appendonly yes
volumes:
- redis_data:/data
networks:
- integration_tests_network
pgadmin:
image: dpage/pgadmin4:latest
container_name: integration_tests_pgadmin
ports:
- '5050:80'
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin
depends_on:
- postgres
networks:
- integration_tests_network
volumes:
redis_data:
postgres_data:
networks:
integration_tests_network:
driver: bridge