This repository was archived by the owner on Mar 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11
11
name : Test Project
12
12
runs-on : ubuntu-latest
13
13
env :
14
- MONGO_URI : ${{ secrets.MONGO_URI }}
14
+ MONGO_HOST : ${{ secrets.MONGO_HOST }}
15
+ MONGO_PORT : ${{ secrets.MONGO_PORT }}
15
16
MONGO_USERNAME : ${{ secrets.MONGO_USERNAME }}
16
17
MONGO_PASSWORD : ${{ secrets.MONGO_PASSWORD }}
17
18
@@ -106,7 +107,8 @@ jobs:
106
107
docker compose down --rmi all
107
108
docker compose stop
108
109
docker compose rm -f
109
- export MONGO_URI=${{ secrets.MONGO_URI }}
110
+ export MONGO_HOST=${{ secrets.MONGO_HOST }}
111
+ export MONGO_PORT=${{ secrets.MONGO_PORT }}
110
112
export MONGO_USERNAME=${{ secrets.MONGO_USERNAME }}
111
113
export MONGO_PASSWORD=${{ secrets.MONGO_PASSWORD }}
112
114
docker compose pull
Original file line number Diff line number Diff line change 15
15
name : Test Project
16
16
runs-on : ubuntu-latest
17
17
env :
18
- MONGO_URI : ${{ secrets.MONGO_URI }}
18
+ MONGO_HOST : ${{ secrets.MONGO_HOST }}
19
+ MONGO_PORT : ${{ secrets.MONGO_PORT }}
19
20
MONGO_USERNAME : ${{ secrets.MONGO_USERNAME }}
20
21
MONGO_PASSWORD : ${{ secrets.MONGO_PASSWORD }}
21
22
Original file line number Diff line number Diff line change 3
3
name : API
4
4
data :
5
5
mongodb :
6
- uri : ${MONGO_URI}
6
+ host : ${MONGO_HOST}
7
+ port : ${MONGO_PORT}
7
8
username : ${MONGO_USERNAME}
8
9
password : ${MONGO_PASSWORD}
9
- database : website
10
+ database : website
11
+ authentication-database : website
You can’t perform that action at this time.
0 commit comments