1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-10-27 00:31:16 +01:00

docker: improved structure

This commit is contained in:
2024-11-26 06:15:03 +01:00
parent a791e45fbb
commit 1abdc66ab0
72 changed files with 355 additions and 310 deletions

View File

@@ -21,7 +21,7 @@ This namely causes the following line in the
- /var/lib/docker/volumes/transmission_data/_data/completed:/data/completed #optional
```
## Environment-variables
### Environment-variables
Set the following environment-variables in the `environment:` section of the
docker-compose file.
@@ -32,7 +32,7 @@ docker-compose file.
| `PGID` | group id for container user | `1000` |
| `TZ` | specify the timezone | `Etc/UTC` |
## Volumes
### Volumes
Set the following volumes in the `volumes:` section of the docker-compose file.
@@ -41,7 +41,7 @@ Set the following volumes in the `volumes:` section of the docker-compose file.
| `config` | `/config` | directory for config |
| `complete` | `/tv` | directory for music |
## Ports
### Ports
Set the following ports in the `ports:` section.
@@ -49,7 +49,7 @@ Set the following ports in the `ports:` section.
| -------------- | ------------------------ | -------- | ------------ |
| `8989` | `8989` | TCP | webUI |
## rebuild.sh
### rebuild.sh
```sh
#!/bin/sh
@@ -58,7 +58,7 @@ docker pull lscr.io/linuxserver/sonarr:latest
docker-compose up -d
```
## docker-compose.yml
### docker-compose.yml
```yml
version: "2.1"