1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-07-26 04:21:34 +02:00

docker: improved structure

This commit is contained in:
2024-11-26 06:15:03 +01:00
parent a791e45fbb
commit 1abdc66ab0
72 changed files with 355 additions and 310 deletions

View File

@@ -17,7 +17,7 @@ just created folder.
You can find the `docker-compose.yml` in the cloned directory.
Set the variables, volumes and ports according and run the `rebuild.sh`.
## Environment-variables
### Environment-variables
Set the following environment-variables in the `environment:` section of the
docker-compose file.
@@ -39,7 +39,7 @@ docker-compose file.
| `popular_enabled` | enable the popular section | `true` |
| `registration_enabled` | enable registration for new users | `true` |
## Ports
### Ports
Set the following ports in the `ports:` section.
@@ -47,7 +47,7 @@ Set the following ports in the `ports:` section.
| -------------- | ------------------------ | -------- | ----------- |
| `3000` | `3000` | TCP | WebUI |
## rebuild.sh
### rebuild.sh
```sh
#!/bin/sh
@@ -59,7 +59,7 @@ docker-compose up -d
cd ..
```
## docker-compose.yml
### docker-compose.yml
```yml
version: "3"