-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (51 loc) · 1.53 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
version: '3'
services:
db:
image: mysql:5.7
volumes:
- ./mysql-data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: YOUR_SUPER_SECRET_PASSWORD
MYSQL_DATABASE: snipeit
MYSQL_USER: snipeit
MYSQL_PASSWORD: YOUR_SUPER_SECRET_PASSWORD
snipe:
image: snipe/snipe-it:v4.6.13
volumes:
- ./snipe-it-data:/var/lib/snipeit
links:
- db:db
depends_on:
- db
ports:
- "8000:80"
- "8443:443"
restart: always
environment:
APP_ENV: production
APP_DEBUG: "false"
APP_KEY: base64:GpR8YlKxmKJDtiX+/uYdF0IevTQ1zjHrSH/GI5/bxxI=
APP_URL: http://127.0.0.1:80
APP_TIMEZONE: US/Pacific
APP_LOCALE: en
MYSQL_ROOT_PASSWORD: YOUR_SUPER_SECRET_PASSWORD
MYSQL_DATABASE: snipeit
MYSQL_USER: snipeit
MYSQL_PASSWORD: YOUR_SUPER_SECRET_PASSWORD
# Email Parameters
# - the hostname/IP address of your mailserver
MAIL_PORT_587_TCP_ADDR: smtp.whatever.com
#the port for the mailserver (probably 587, could be another)
MAIL_PORT_587_TCP_PORT: 587
# the default from address, and from name for emails
MAIL_ENV_FROM_ADDR: [email protected]
MAIL_ENV_FROM_NAME: Your Full Email Name
# - pick 'tls' for SMTP-over-SSL, 'tcp' for unencrypted
MAIL_ENV_ENCRYPTION: tcp
# SMTP username and password
MAIL_ENV_USERNAME: your_email_username
MAIL_ENV_PASSWORD: your_email_password
DB_HOST: db
#https://snipe-it.readme.io/docs/docker