File tree Expand file tree Collapse file tree 2 files changed +5
-31
lines changed
Expand file tree Collapse file tree 2 files changed +5
-31
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,13 @@ jobs:
1818 include :
1919 - image : frontend
2020 path : ./frontend.dockerfile
21+ context : .
2122 - image : backend
2223 path : ./backend/Dockerfile
24+ context : ./backend
2325 - image : media
2426 path : ./media/Dockerfile
27+ context : ./media
2528
2629 steps :
2730 - uses : actions/checkout@v4
4649 uses : docker/build-push-action@v6
4750 with :
4851 platforms : linux/amd64
49- context : .
5052 push : true
51- file : ${{ matrix.path}}
53+ file : ${{ matrix.path }}
54+ context : ${{ matrix.context }}
5255 tags : ${{ steps.vars.outputs.tag }}
53-
Original file line number Diff line number Diff line change @@ -7,33 +7,5 @@ server {
77 location / {
88 try_files $uri $uri / /index .html ;
99 }
10-
11- location /graphql {
12- proxy_pass http ://backend:3000 /graphql ;
13-
14- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
15- proxy_set_header Host $host ;
16- proxy_set_header Upgrade $http_upgrade ;
17- proxy_set_header Connection 'upgrade' ;
18- proxy_cache_bypass $http_upgrade ;
19-
20- }
21-
22- location /api/search {
23- rewrite ^/api/search( .*) $ /$1 break ;
24- proxy_pass http ://search:7700 ;
25- }
26-
27- location /api/media {
28- client_max_body_size 30m ;
29-
30- rewrite ^/api/( .*) $ /$1 break ;
31- proxy_pass http ://media:3001 ;
32- }
33-
34- location /cdn {
35- rewrite ^/cdn/( .*) $ /$1 break ;
36- proxy_pass http ://s3:9000 ;
37- }
3810}
3911
You can’t perform that action at this time.
0 commit comments