1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-01 14:37:46 +02:00

templates: added

This commit is contained in:
tiyn 2024-03-20 03:37:38 +01:00
parent ac1e565e11
commit ee4d9ac1ca
5 changed files with 105 additions and 0 deletions

0
templates/.gitkeep Normal file
View File

View File

@ -0,0 +1,53 @@
# /maintainer/ - /name/
This is a [Docker](/wiki/docker.md) container for a /service/ server.
The official container and documentation was made by
[/maintainer/]().
This docker-rebuild is made up by a `docker-compose.yml` file.
In addition to the main container you need to connect a
[/additional containers needed/]() to it.
## Set-up
Create the files `rebuild.sh`, `.env` and `docker-compose.yml` at the same
place.
Change the settings according to your needs and run `./rebuild.sh` afterwards.
## Environment-variables
Set the following variables with the -e tag.
| Name | Usage | Default |
| ---------- | ------------- | ------- |
| `/name/` | /description/ | |
## Ports
Set the following ports in the `ports:` section.
| Container Port | Recommended outside port | Protocol | Description |
| -------------- | ------------------------ | --------- | ------------- |
| `/port/` | `/port/` | /TCP/UDP/ | /description/ |
## Volumes
Set the following volumes with the -v tag.
| Outside mount/volume name | Container mount | Description |
| ------------------------- | --------------- | ------------- |
| `/volume name/` | `/mount point/` | /description/ |
## rebuild.sh
```sh
```
## .env
```sh
```
## docker-compose.yml
```yml
```

39
templates/docker.md Normal file
View File

@ -0,0 +1,39 @@
# /maintainer/ - /name/
This is a [Docker](/wiki/docker.md) container for a /service/ server.
The official container and documentation was made by
[/maintainer/]().
## Set-up
Create the file `rebuild.sh`.
Change the settings according to your needs and run `./rebuild.sh` afterwards.
## Environment-variables
Set the following variables with the -e tag.
| Name | Usage | Default |
| ---------- | ------------- | ------- |
| `/name/` | /description/ | |
## Ports
Set the following ports in the `ports:` section.
| Container Port | Recommended outside port | Protocol | Description |
| -------------- | ------------------------ | --------- | ------------- |
| `/port/` | `/port/` | /TCP/UDP/ | /description/ |
## Volumes
Set the following volumes with the -v tag.
| Outside mount/volume name | Container mount | Description |
| ------------------------- | --------------- | ------------- |
| `/volume name/` | `/mount point/` | /description/ |
## rebuild.sh
```sh
```

13
templates/program.md Normal file
View File

@ -0,0 +1,13 @@
# /name/
[/name/]() is a /description.
## Setup
The /name/ program can be installed [/via GitHub/]().
Alternatively many linux package managers package /name/ in the `/package/`
package.
## Usage
/basic description for usage/

0
wiki/.gitkeep Normal file
View File