This commit is contained in:
36
scalar/docker-compose.json
Normal file
36
scalar/docker-compose.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"services": [
|
||||
{
|
||||
"_id": "service-9v11i7b",
|
||||
"name": "api-reference",
|
||||
"image": "scalarapi/api-reference:latest",
|
||||
"isMain": true,
|
||||
"internalPort": "8080",
|
||||
"volumes": [
|
||||
{
|
||||
"containerPath": "/docs",
|
||||
"hostPath": "/etc/runtipi/apps/_user/scalar/apidocs",
|
||||
"readOnly": false,
|
||||
"shared": false,
|
||||
"private": false
|
||||
}
|
||||
],
|
||||
"hostname": "scalar-api",
|
||||
"environment": [
|
||||
{
|
||||
"key": "API_REFERENCE_CONFIG",
|
||||
"value": "{FORM_API_REFERENCE_CONFIG}"
|
||||
}
|
||||
],
|
||||
"addPorts": [
|
||||
{
|
||||
"containerPort": "8090",
|
||||
"hostPort": "8090",
|
||||
"tcp": true,
|
||||
"udp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"schemaVersion": 2
|
||||
}
|
||||
Reference in New Issue
Block a user