Skip to content

Commit f9e645c

Browse files
committed
fix path for swagger JSON file mount
1 parent 1eccbd2 commit f9e645c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
APP_NAME=swis-api
66
APP_ROOT=/opt/${APP_NAME}
7-
APP_VERSION=5.16.0
7+
APP_VERSION=5.16.1
88

99

1010
#

api/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"name": "MIT",
1414
"url": "https://github.com/savla-dev/swis-api/blob/master/LICENSE"
1515
},
16-
"version": "5.16.0"
16+
"version": "5.16.1"
1717
},
1818
"host": "swis-api-run-prod:8050",
1919
"basePath": "/",

cmd/swis-api/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @title swis-api (swapi) v5
2-
// @version 5.16.0
2+
// @version 5.16.1
33
// @description sakalWeb Information System v5 RESTful API documentation
44
// @termsOfService http://swagger.io/terms/
55

deployments/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ services:
8080
networks:
8181
- ${DOCKER_NETWORK_NAME}
8282
volumes:
83-
- "./docs/swagger.json:/tmp/swagger.json"
83+
- "../api/swagger.json:/tmp/swagger.json"
8484
labels:
8585
- "traefik.http.routers.${APP_NAME}-swagger.rule=Host(`swapi-docs.savla.su`)"
8686
#- "traefik.http.routers.${APP_NAME}-swagger.rule=Host(`swapi-docs.savla.su`) && PathPrefix(`/docs`)"

0 commit comments

Comments
 (0)