File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,13 @@ services:
15
15
16
16
swagger_ui :
17
17
image : swaggerapi/swagger-ui:latest
18
- hostname : swagger_ui
19
18
env_file :
20
19
- .env
21
20
ports :
22
21
- " 8080:8080"
23
22
24
23
eve :
25
24
restart : unless-stopped
26
- hostname : eve
27
25
env_file :
28
26
- .env
29
27
build : eve-app
Original file line number Diff line number Diff line change @@ -16,21 +16,21 @@ http {
16
16
server_name 34.224.227.208 ;
17
17
18
18
location = /docs/api {
19
- proxy_pass http://eve :5000/docs/api;
19
+ proxy_pass http://localhost :5000/docs/api;
20
20
proxy_set_header Host $host ;
21
21
proxy_set_header X-Real-IP $remote_addr ;
22
22
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
23
23
}
24
24
25
25
location /api {
26
- proxy_pass http://eve :5000;
26
+ proxy_pass http://localhost :5000;
27
27
proxy_set_header Host $host ;
28
28
proxy_set_header X-Real-IP $remote_addr ;
29
29
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
30
30
}
31
31
32
32
location / {
33
- proxy_pass http://swagger_ui :8080/;
33
+ proxy_pass http://localhost :8080/;
34
34
proxy_set_header Host $host ;
35
35
proxy_set_header X-Real-IP $remote_addr ;
36
36
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
You can’t perform that action at this time.
0 commit comments