docker-bits/lsio/snipe-it/docker-compose.yaml

38 lines
1.2 KiB
YAML
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [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.
2021-04-10 10:16:29 +00:00
2022-03-05 00:44:53 +00:00
---
version: "2.1"
2021-04-10 10:16:29 +00:00
services:
2022-03-05 00:44:53 +00:00
snipe-it:
image: ghcr.io/linuxserver/snipe-it
2021-04-10 10:16:29 +00:00
container_name: snipe-it
environment:
2022-03-05 00:44:53 +00:00
# for GroupID
- PUID=${PUID:-1024}
# for UserID
- 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
2021-04-10 10:16:29 +00:00
ports:
2022-03-05 00:44:53 +00:00
# Snipe-IT Web UI
- 8080:80
restart: unless-stopped