neb/servers/apoc/docker-compose.d/docker-compose.snipeit.yml
2024-01-01 19:48:49 +01:00

38 lines
No EOL
987 B
YAML

# I'm very comfortable in this version, therefore it's the standard
version: '2.2'
services:
snipeit:
image: snipe/snipe-it
environment:
MYSQL_PORT_3306_TCP_ADDR: "snipeit-db"
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"
APP_TRUSTED_PROXIES: "172.18.0.0/24" # i hate this
env_file:
- /etc/ixvd/secrets/env/snipeit.env
volumes:
- /srv/snipeit/data:/var/lib/snipeit
networks:
- proxy
- internal
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
networks:
- internal