mirror of
https://github.com/tiyn/wiki.git
synced 2025-10-10 01:41:23 +02:00
templates: added
This commit is contained in:
39
templates/docker.md
Normal file
39
templates/docker.md
Normal 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
|
||||
```
|
Reference in New Issue
Block a user