1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/snipeit/docker-compose.yml
2021-01-15 15:48:24 +08:00

27 lines
491 B
YAML

version: "3.8"
services:
snipeit:
image: snipe/snipe-it
ports:
- "8080:80"
links:
- mysql
volumes:
- ./data/snipeit:/var/lib/snipeit
env_file:
- ./data/snipeit/snipeit.env
restart: unless-stopped
mysql:
image: mysql
volumes:
- ./data/mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_USER=snipeit
- MYSQL_PASSWORD=snipeit
- MYSQL_DATABASE=snipeit
restart: unless-stopped