add swagger
This commit is contained in:
parent
f70c872e18
commit
db6e4f6109
2 changed files with 12 additions and 3 deletions
|
@ -18,6 +18,12 @@ services:
|
||||||
- postgres_data:/var/lib/postgresql/data/
|
- postgres_data:/var/lib/postgresql/data/
|
||||||
env_file:
|
env_file:
|
||||||
- ./.env.dev
|
- ./.env.dev
|
||||||
|
swagger:
|
||||||
|
image: swaggerapi/swagger-editor
|
||||||
|
volumes:
|
||||||
|
- ./swagger.json:/swagger.json
|
||||||
|
ports:
|
||||||
|
- "80:8080"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
|
|
|
@ -63,11 +63,14 @@ backend map.forest.deflax.net
|
||||||
# Get from cache / put in cache
|
# Get from cache / put in cache
|
||||||
http-request cache-use mapscache
|
http-request cache-use mapscache
|
||||||
http-response cache-store mapscache
|
http-response cache-store mapscache
|
||||||
|
|
||||||
# server list
|
# server list
|
||||||
server o1 osmtile:80 check
|
server s1 osmtile:80 check
|
||||||
|
|
||||||
backend forest.deflax.net
|
backend forest.deflax.net
|
||||||
# server list
|
# server list
|
||||||
server d1 flask:5000 check
|
server s1 flask:5000 check
|
||||||
|
|
||||||
|
backend swagger.deflax.net
|
||||||
|
# server list
|
||||||
|
server s1 swagger:80 check
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue