mirror of https://github.com/tiyn/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.3 KiB
54 lines
1.3 KiB
# /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
|
|
```
|