kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
f8b0080879
commit
1fcb0da4f9
|
@ -32,25 +32,7 @@ The architectures supported by this image are:
|
|||
|
||||
Here are some example snippets to help you get started creating a container from this image.
|
||||
|
||||
### docker
|
||||
|
||||
```
|
||||
docker create \
|
||||
--name=pylon \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Europe/London \
|
||||
-e GITURL=https://github.com/linuxserver/docker-pylon.git `#optional` \
|
||||
-e PYUSER=myuser `#optional` \
|
||||
-e PYPASS=mypass `#optional` \
|
||||
-p 3131:3131 \
|
||||
-v <path to your code>:/code `#optional` \
|
||||
--restart unless-stopped \
|
||||
linuxserver/pylon
|
||||
```
|
||||
|
||||
|
||||
### docker-compose
|
||||
### docker-compose ([recommended](https://docs.linuxserver.io/general/docker-compose))
|
||||
|
||||
Compatible with docker-compose v2 schemas.
|
||||
|
||||
|
@ -68,7 +50,6 @@ services:
|
|||
- GITURL=https://github.com/linuxserver/docker-pylon.git #optional
|
||||
- PYUSER=myuser #optional
|
||||
- PYPASS=mypass #optional
|
||||
volumes:
|
||||
volumes:
|
||||
- <path to your code>:/code #optional
|
||||
ports:
|
||||
|
@ -76,6 +57,24 @@ services:
|
|||
restart: unless-stopped
|
||||
```
|
||||
|
||||
### docker cli
|
||||
|
||||
```
|
||||
docker run -d \
|
||||
--name=pylon \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Europe/London \
|
||||
-e GITURL=https://github.com/linuxserver/docker-pylon.git `#optional` \
|
||||
-e PYUSER=myuser `#optional` \
|
||||
-e PYPASS=mypass `#optional` \
|
||||
-p 3131:3131 \
|
||||
-v <path to your code>:/code `#optional` \
|
||||
--restart unless-stopped \
|
||||
linuxserver/pylon
|
||||
```
|
||||
|
||||
|
||||
## Parameters
|
||||
|
||||
Docker images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
|
||||
|
@ -143,9 +142,9 @@ Access the webui at http://your-ip:3131, more information [here](https://github.
|
|||
|
||||
|
||||
## Docker Mods
|
||||
[](https://mods.linuxserver.io/?mod=pylon "view available mods for this container.")
|
||||
[](https://mods.linuxserver.io/?mod=pylon "view available mods for this container.") [](https://mods.linuxserver.io/?mod=universal "view available universal mods.")
|
||||
|
||||
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) can be accessed via the dynamic badge above.
|
||||
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
|
||||
|
||||
|
||||
## Support Info
|
||||
|
|
Ładowanie…
Reference in New Issue