33 lines
No EOL
818 B
YAML
33 lines
No EOL
818 B
YAML
# I'm very comfortable in this version, therefore it's the standard
|
|
version: '2.2'
|
|
|
|
services:
|
|
snipeit:
|
|
image: snipe/snipe-it
|
|
links:
|
|
- snipeit-db:mysql
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: "root"
|
|
MYSQL_DATABASE: "snipeit"
|
|
MYSQL_USER: "snipeit"
|
|
MYSQL_PASSWORD: "snipeit"
|
|
APP_URL: "https://snipe.ixvd.net"
|
|
APP_TIMEZONE: "Europe/Amsterdam"
|
|
APP_LOCALE: "en"
|
|
APP_ENV: "production"
|
|
APP_DEBUG: "false"
|
|
PHP_UPLOAD_LIMIT: "100"
|
|
env_file:
|
|
- /etc/ixvd/secrets/env/snipeit.env
|
|
networks:
|
|
- proxy
|
|
|
|
snipeit-db:
|
|
image: mysql:5.6
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: "root"
|
|
MYSQL_DATABASE: "snipeit"
|
|
MYSQL_USER: "snipeit"
|
|
MYSQL_PASSWORD: "snipeit"
|
|
volumes:
|
|
- /srv/snipeit/other/db:/var/lib/mysql |