mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
23 lines
406 B
YAML
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
|