docker: improved structure

master
tiyn 4 weeks ago
parent 1abdc66ab0
commit 3feba9c3cf

@ -13,7 +13,7 @@ Create the files `rebuild.sh`, `.env` and `docker-compose.yml` at the same
place. place.
Change the settings according to your needs and run `./rebuild.sh` afterwards. Change the settings according to your needs and run `./rebuild.sh` afterwards.
## Environment-variables ### Environment-variables
Set the following variables with the -e tag. Set the following variables with the -e tag.
@ -21,7 +21,7 @@ Set the following variables with the -e tag.
| ---------- | ------------- | ------- | | ---------- | ------------- | ------- |
| `/name/` | /description/ | | | `/name/` | /description/ | |
## Ports ### Ports
Set the following ports in the `ports:` section. Set the following ports in the `ports:` section.
@ -29,7 +29,7 @@ Set the following ports in the `ports:` section.
| -------------- | ------------------------ | --------- | ------------- | | -------------- | ------------------------ | --------- | ------------- |
| `/port/` | `/port/` | /TCP/UDP/ | /description/ | | `/port/` | `/port/` | /TCP/UDP/ | /description/ |
## Volumes ### Volumes
Set the following volumes with the -v tag. Set the following volumes with the -v tag.
@ -37,17 +37,17 @@ Set the following volumes with the -v tag.
| ------------------------- | --------------- | ------------- | | ------------------------- | --------------- | ------------- |
| `/volume name/` | `/mount point/` | /description/ | | `/volume name/` | `/mount point/` | /description/ |
## rebuild.sh ### rebuild.sh
```sh ```sh
``` ```
## .env ### .env
```sh ```sh
``` ```
## docker-compose.yml ### docker-compose.yml
```yml ```yml
``` ```

Loading…
Cancel
Save