kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
923ca76351
commit
052b58f094
|
@ -31,7 +31,7 @@ The architectures supported by this image are:
|
|||
| :----: | :----: | ---- |
|
||||
| x86-64 | ✅ | amd64-\<version tag\> |
|
||||
| arm64 | ✅ | arm64v8-\<version tag\> |
|
||||
| armhf| ✅ | arm32v7-\<version tag\> |
|
||||
| armhf | ✅ | arm32v7-\<version tag\> |
|
||||
|
||||
## Application Setup
|
||||
|
||||
|
@ -89,13 +89,13 @@ services:
|
|||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- APP_URL=http://localhost:8080
|
||||
- MYSQL_PORT_3306_TCP_ADDR=
|
||||
- MYSQL_PORT_3306_TCP_PORT=
|
||||
- MYSQL_DATABASE=
|
||||
- MYSQL_USER=
|
||||
- MYSQL_PASSWORD=
|
||||
- TZ=US/Pacific
|
||||
volumes:
|
||||
- /path/to/data:/config
|
||||
ports:
|
||||
|
@ -110,17 +110,18 @@ docker run -d \
|
|||
--name=snipe-it \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Etc/UTC \
|
||||
-e APP_URL=http://localhost:8080 \
|
||||
-e MYSQL_PORT_3306_TCP_ADDR= \
|
||||
-e MYSQL_PORT_3306_TCP_PORT= \
|
||||
-e MYSQL_DATABASE= \
|
||||
-e MYSQL_USER= \
|
||||
-e MYSQL_PASSWORD= \
|
||||
-e TZ=US/Pacific \
|
||||
-p 8080:80 \
|
||||
-v /path/to/data:/config \
|
||||
--restart unless-stopped \
|
||||
lscr.io/linuxserver/snipe-it:latest
|
||||
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
@ -139,13 +140,13 @@ Docker images are configured using parameters passed at runtime (such as those a
|
|||
| :----: | --- |
|
||||
| `PUID=1000` | for UserID - see below for explanation |
|
||||
| `PGID=1000` | for GroupID - see below for explanation |
|
||||
| `TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
|
||||
| `APP_URL=http://localhost:8080` | Hostname or IP and port if applicable, be sure to define https/http |
|
||||
| `MYSQL_PORT_3306_TCP_ADDR=` | Mysql hostname or IP to use |
|
||||
| `MYSQL_PORT_3306_TCP_PORT=` | Mysql port to use |
|
||||
| `MYSQL_DATABASE=` | Mysql database to use |
|
||||
| `MYSQL_USER=` | Mysql user to use |
|
||||
| `MYSQL_PASSWORD=` | Mysql password to use |
|
||||
| `TZ=US/Pacific` | Specify a timezone to use EG Europe/London, this is required to run snipe-it |
|
||||
|
||||
### Volume Mappings (`-v`)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue