File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 Authentication__Google__ClientId : ${{ secrets.Authentication__Google__ClientId }}
5454 REDIS_PASSWORD : ${{ secrets.REDIS_PASSWORD }}
5555 REDIS_PORT : ${{ secrets.REDIS_PORT }}
56- SQL_PORT : ${{ secrets.SQL_PORT }}
57- SQL_PASSWORD : ${{ secrets.SQL_PASSWORD }}
58- API_PORT : ${{ secrets.API_PORT }}
56+
57+ SQL_PORT : ${{ vars.SQL_PORT }}
58+ SQL_PASSWORD : ${{ vars.SQL_PASSWORD }}
59+ API_PORT : ${{ vars.API_PORT }}
5960
6061jobs :
6162 build-test :
@@ -85,15 +86,13 @@ jobs:
8586 redis :
8687 image : redis:7
8788 ports :
88- - 3000 :6379
89+ - 6379 :6379
8990 volumes :
9091 - redis-data:/data
9192 env :
9293 REDIS_PASSWORD : ${{ secrets.REDIS_PASSWORD }}
93- command : >
94- redis-server
95- --requirepass $"REDIS_PASSWORD"
96- --appendonly yes
94+ entrypoint : /bin/sh
95+ command : -c 'exec redis-server --requirepass "$REDIS_PASSWORD" --appendonly yes'
9796
9897 steps :
9998 - name : Get Code
@@ -143,10 +142,8 @@ jobs:
143142 - redis-data:/data
144143 env :
145144 REDIS_PASSWORD : ${{ secrets.REDIS_PASSWORD }}
146- command : >
147- redis-server
148- --requirepass $"REDIS_PASSWORD"
149- --appendonly yes
145+ entrypoint : /bin/sh
146+ command : -c 'exec redis-server --requirepass "$REDIS_PASSWORD" --appendonly yes'
150147
151148 environment : production
152149 outputs :
You can’t perform that action at this time.
0 commit comments