Add API reference code examples and configuration files

This commit is contained in:
Simon Larsen
2024-09-18 14:39:11 +01:00
parent 1cdf9ecdf1
commit 68389cda85
143 changed files with 5161 additions and 6 deletions

View File

@@ -215,6 +215,24 @@ services:
context: .
dockerfile: ./Workflow/Dockerfile
api-reference:
volumes:
- ./APIReference:/usr/src/app
# 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
- /usr/src/Common/node_modules/
extends:
file: ./docker-compose.base.yml
service: api-reference
ports:
- '8737:9229' # Debugging port.
build:
network: host
context: .
dockerfile: ./APIReference/Dockerfile
app:
volumes:
- ./App:/usr/src/app