Skip to content

Commit 327e253

Browse files
committed
Docs: Add additional documentation for production deployments
1 parent 359c6c0 commit 327e253

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

docs-additonal/deployment.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Deployment
2+
3+
There are at the moment no configuration files that can be edited.
4+
5+
## Bare-Metal
6+
7+
TBD
8+
9+
## Docker / Podman
10+
11+
With Docker:
12+
13+
```
14+
docker run -d -p 8080:80 ghcr.io/cobbler/cobbler-web:main
15+
```
16+
17+
With Podman:
18+
19+
```
20+
podman run -d -p 8080:80 ghcr.io/cobbler/cobbler-web:main
21+
```
22+
23+
## Helm Chart
24+
25+
TBD
26+
27+
## Common issues
28+
29+
### CORS
30+
31+
In a production environment this should not be an issue as the Cobbler backend is supposed to have the header
32+
`Access-Control-Allow-Origin=*`. Please verify if this header is present if you encounter issues.
33+
34+
The issue of CORS [cannot be solved inside the Web UI](https://angular.dev/tools/cli/deployment#requesting-data-from-a-different-server-cors),
35+
as such each administrator must debug and fix these issues for their own setup.

docs-additonal/summary.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
{
33
"title": "Development Setup",
44
"file": "development-setup.md"
5+
},
6+
{
7+
"title": "Deployment",
8+
"file": "deployment.md"
59
}
610
]

0 commit comments

Comments
 (0)