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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user