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.
38 lines
1.2 KiB
YAML
38 lines
1.2 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}
|
|
# 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 host>
|
|
# Mysql port to use
|
|
- MYSQL_PORT_3306_TCP_PORT=<mysql port>
|
|
# Mysql database to use
|
|
- MYSQL_DATABASE=<mysql database>
|
|
# Mysql user to use
|
|
- MYSQL_USER=<mysql pass>
|
|
# Mysql password to use
|
|
- MYSQL_PASSWORD=changeme
|
|
# Specify a timezone to use for example Europe/Amsterdam
|
|
- TZ=${TZ:-Europe/Amsterdam}
|
|
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
|