lscr.io/linuxserver/snipe-it:latest
should retrieve the correct image for your arch, but you can also pull specific arch images via tags.-e APP_ENV=
-e APP_DEBUG=
-e APP_LOCALE=
-e MAIL_PORT_587_TCP_ADDR=
-e MAIL_PORT_587_TCP_PORT=
-e MAIL_ENV_FROM_ADDR=
-e MAIL_ENV_FROM_NAME=
-e MAIL_ENV_ENCRYPTION=
-e MAIL_ENV_USERNAME=
-e MAIL_ENV_PASSWORD=
/config/php
. To overide any defaults please modify /config/php/php-local.ini
IE for upload size:<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.-p
)80
-e
)PUID=1000
PGID=1000
APP_URL=http://localhost:8080
MYSQL_PORT_3306_TCP_ADDR=<mysql host>
MYSQL_PORT_3306_TCP_PORT=<mysql port>
MYSQL_DATABASE=<mysql database>
MYSQL_USER=<mysql pass>
MYSQL_PASSWORD=changeme
TZ=US/Pacific
-v
)/config
FILE__
.PASSWORD
based on the contents of the /run/secrets/mysecretpassword
file.-e UMASK=022
setting. Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up here before asking for support.-v
flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID
and group PGID
.PUID=1000
and PGID=1000
, to find yours use id user
as below:docker exec -it snipe-it /bin/bash
docker logs -f snipe-it
docker inspect -f '{{ index .Config.Labels "build_version" }}' snipe-it
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/snipe-it:latest