You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.3 KiB
YAML

# [Snipe-it](https://github.com/snipe/snipe-it) makes asset management easy. It
# was built by people solving real-world IT and asset management problems, and a
# solid UX has always been a top priority. Straightforward design and bulk
# actions mean getting things done faster.
---
version: "2.1"
services:
snipe-it:
image: ghcr.io/linuxserver/snipe-it
container_name: snipe-it
environment:
# for UserID
- PUID=${PUID:-1024}
# for GroupID
- PGID=${PGID:-100}
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
- TZ=${TZ:-Europe/Amsterdam}
# Hostname or IP and port if applicable, be sure to define https/http
- APP_URL=http://localhost:8080
# Mysql hostname or IP to use
- MYSQL_PORT_3306_TCP_ADDR=
# Mysql port to use
- MYSQL_PORT_3306_TCP_PORT=
# Mysql database to use
- MYSQL_DATABASE=
# Mysql user to use
- MYSQL_USER=
# Mysql password to use
- MYSQL_PASSWORD=
# Default is `production` but can use `testing` or `develop`.
- APP_ENV=production # optional
# Set to `true` to see debugging output in the web UI.
- APP_DEBUG=false # optional
# Default is `en`. Set to a language from [this list](https://snipe-it.readme.io/docs/configuration#section-setting-a-language).
- APP_LOCALE= # optional
# SMTP mail server ip or hostname.
- MAIL_PORT_587_TCP_ADDR=US/Pacific # optional
# SMTP mail server port.
- MAIL_PORT_587_TCP_PORT=US/Pacific # optional
# The email address mail should be replied to and listed when sent.
- MAIL_ENV_FROM_ADDR=US/Pacific # optional
# The name listed on email sent from the default account on the system.
- MAIL_ENV_FROM_NAME=US/Pacific # optional
# Mail encryption to use e.g. `tls`.
- MAIL_ENV_ENCRYPTION=US/Pacific # optional
# SMTP server login username.
- MAIL_ENV_USERNAME=US/Pacific # optional
# SMTP server login password.
- MAIL_ENV_PASSWORD=US/Pacific # optional
volumes:
# Contains your config files and data storage for Snipe-IT
- ${BASEDIR:-/volume1/docker}/snipe-it/config:/config
ports:
# Snipe-IT Web UI
- 8080:80
restart: unless-stopped