1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/snipeit/docker-compose.yml
2019-02-01 07:55:35 +08:00

23 lines
406 B
YAML

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