-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-local.yml
More file actions
37 lines (34 loc) · 906 Bytes
/
docker-compose-local.yml
File metadata and controls
37 lines (34 loc) · 906 Bytes
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
version: '3.7'
services:
db_pg:
image: postgres:13.2
container_name: db-postgres
restart: always
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: pass_demo
POSTGRES_DB: db_demo
db_pg_test:
image: postgres:13.2
container_name: db-postgres-test
restart: always
ports:
- 5433:5432
environment:
POSTGRES_PASSWORD: pass_demo_test
POSTGRES_DB: db_demo_test
db_redis:
image: redis:alpine
container_name: db-redis
restart: always
ports:
- "6379:6379"
command: redis-server --requirepass password
db_redis_test:
image: redis:alpine
container_name: db-redis-test
restart: always
ports:
- "6378:6379"
command: redis-server --requirepass password