Update docs/services/webhosting.md

This commit is contained in:
ebner committed 2026-06-24 16:45:29 +02:00
1 parent 8ba4dc32a4
commit 028c88ba77
1 file changed
+30 -21
+30 -21
View File
@@ -12,36 +12,45 @@ WebHosting is a service for running simple web apps without the need to operate
!!! info
If you need assistance at any step, reach out to [linux-eng@psi.ch](mailto:linux-eng@psi.ch).
1. **Prepare Your Service**
- Ensure your service is running in one or more Docker container.
**Prepare Your Service**
2. **Create a Branch or Fork**
- Navigate to the repository: [WebHosting](https://gitea.psi.ch/linux/WebHosting)
- Ensure your service is running in one or more Docker container.
3. **Edit the Docker Configuration**
- Update the `docker-compose.yaml` file in the repository to include you service container(s).
- Add a configuration file for your service to the `conf.d` directory, specifying `proxy_pass` with the container's name as defined in `docker-compose.yaml` to route requests properly through the nginx reverse proxy to your container(s).
4. **Create a Merge Request**
- Submit a merge request in the [WebHosting](https://gitea.psi.ch/linux/WebHosting) repository.
**Create a Branch or Fork**
- Navigate to the repository: [WebHosting](https://gitea.psi.ch/linux/WebHosting) and create a fork/branch
**Edit the Docker Configuration**
- Update the `docker-compose.yaml` file in the repository to include you service container(s).
- Add a configuration file for your service to the `conf.d` directory, specifying `proxy_pass` with the container's name as defined in `docker-compose.yaml` to route requests properly through the nginx reverse proxy to your container(s).
**Create a Merge Request**
- Submit a merge request in the [WebHosting](https://gitea.psi.ch/linux/WebHosting) repository.
5. **Contact Linux Engineering for Merge Approval**
- Email [linux-eng](mailto:linux-eng@psi.ch) to request the merge of your branch after review.
- The team will handle certificate creation post-review.
**Contact Linux Engineering for Merge Approval**
6. **Deployment**
- The service is automatically deployed upon merging to the main branch.
- Email [linux-eng](mailto:linux-eng@psi.ch) to request the merge of your branch after review.
- The team will handle certificate creation post-review.
**Deployment**
- The service is automatically deployed upon merging to the main branch.
## Additional Information
- **Backup Schedule**
- Elog Logbooks are backed up hourly, retained for one week.
- Other web content is backed up four times daily.
### Backup Schedule
- Elog Logbooks are backed up hourly, retained for one week.
- Other web content is backed up four times daily.
- **Running Multiple Containers**
- For services needing multiple containers, we can create additional networks upon request.
### Running Multiple Containers
For services needing multiple containers, we can create additional networks upon request.
- **NFS Share**
- For direct access to your data we can configure access to the NFS share that your data resides on, upon request.
### NFS Share
For direct access to your data we can configure access to the NFS share that your data resides on, upon request.