File tree 8 files changed +7
-10
lines changed
8 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -36,4 +36,3 @@ services:
36
36
37
37
volumes :
38
38
elastic-data :
39
- external : true
Original file line number Diff line number Diff line change 1
1
version : " 3.4"
2
2
3
3
services :
4
- database :
4
+ mongo :
5
5
image : mongo:latest
6
6
restart : ${RESTART}
7
7
ports :
@@ -16,4 +16,3 @@ services:
16
16
17
17
volumes :
18
18
mongo-data :
19
- external : true
Original file line number Diff line number Diff line change 1
1
version : " 3.4"
2
2
3
3
services :
4
- db :
4
+ mysql :
5
5
image : mysql:latest
6
6
restart : ${RESTART}
7
7
ports :
@@ -27,4 +27,3 @@ services:
27
27
28
28
volumes :
29
29
mysql-data :
30
- external : true
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ services:
4
4
postgre :
5
5
image : postgres:10
6
6
environment :
7
- POSTGRES_PASSWORD : ${DB_PASSWORD }
7
+ POSTGRES_PASSWORD : ${PASSWORD }
8
8
restart : ${RESTART}
9
9
ports :
10
10
- ${PORT}:5432
@@ -13,5 +13,4 @@ services:
13
13
14
14
volumes :
15
15
postgre-data :
16
- external : true
17
16
Original file line number Diff line number Diff line change 1
1
PORT=5432
2
2
RESTART=always
3
3
4
- DB_PASSWORD =changeme
4
+ PASSWORD =changeme
Original file line number Diff line number Diff line change
1
+ ## run database
1
2
1 . cp env.example .env
2
3
2 . edit environment variable
3
4
3 . docker-compose up -d
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ services:
8
8
- ${PORT}:6379
9
9
volumes :
10
10
- redis-data:/data
11
- command : redis-server --appendonly yes --requirepass ${PASSWORD }
11
+ command : redis-server --appendonly yes --requirepass ${PASSWORD}
12
12
13
13
volumes :
14
14
redis-data:
Original file line number Diff line number Diff line change 1
1
PORT=6379
2
2
RESTART=always
3
- PASSWORD=redis123!@#
3
+ PASSWORD=changeme
You can’t perform that action at this time.
0 commit comments