Snipe it
variable.env
# Mysql Parameters
MYSQL_PORT_3306_TCP_ADDR=db-snipe-it
MYSQL_PORT_3306_TCP_PORT=3306
MYSQL_DATABASE=snipe-it
MYSQL_USER=snipe-it
MYSQL_PASSWORD=changeme
# Snipe-IT Settings
APP_ENV=production
APP_DEBUG=false
APP_KEY="base64:foo_hey_here"
APP_URL=http://IP:8182
APP_TIMEZONE=America/Edmonton
APP_LOCALE=en
# Docker-specific variables
PHP_UPLOAD_LIMIT=100
---
services:
snipe-it:
image: snipe/snipe-it:latest
container_name: snipe-it
restart: unless-stopped
depends_on:
- db-snipe-it
env_file:
- variable.env
volumes:
- /mnt/molten/enc/docker/data/sk83c/snipe-it:/var/lib/snipeit
- /mnt/molten/enc/docker/data/sk83c/snipe-it/logs:/var/www/html/storage/logs
ports:
- 8182:80
db-snipe-it:
image: mysql:5.6
container_name: db-snipe-it
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: changeme
MYSQL_DATABASE: snipe-it
MYSQL_USER: snipe-it
MYSQL_PASSWORD: changeme
volumes:
- /mnt/molten/enc/docker/database/sk83c/snipe-it:/var/lib/mysql