mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Add sidenav partial for API reference documentation
This commit is contained in:
@@ -232,29 +232,10 @@ services:
|
||||
context: .
|
||||
dockerfile: ./Workflow/Dockerfile
|
||||
|
||||
api-reference:
|
||||
volumes:
|
||||
- ./APIReference:/usr/src/app:cached
|
||||
# Use node modules of the container and not host system.
|
||||
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
||||
- /usr/src/app/node_modules/
|
||||
- ./Common:/usr/src/Common:cached
|
||||
- /usr/src/Common/node_modules/
|
||||
extends:
|
||||
file: ./docker-compose.base.yml
|
||||
service: api-reference
|
||||
depends_on:
|
||||
<<: *common-depends-on
|
||||
ports:
|
||||
- '8737:9229' # Debugging port.
|
||||
build:
|
||||
network: host
|
||||
context: .
|
||||
dockerfile: ./APIReference/Dockerfile
|
||||
|
||||
docs:
|
||||
volumes:
|
||||
- ./Docs:/usr/src/app:cached
|
||||
- ./APIReference:/usr/src/app/APIReference:cached
|
||||
# Use node modules of the container and not host system.
|
||||
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
||||
- /usr/src/app/node_modules/
|
||||
|
||||
Reference in New Issue
Block a user