mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
2a058c3ce1
* Updates * BAse * pdated instructions round app_key Co-authored-by: Ross Crawford-d'Heureuse <ross.crawford@mindcurv.com>
48 lines
707 B
YAML
48 lines
707 B
YAML
version: '3'
|
|
|
|
services:
|
|
snipeit:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.alpine
|
|
container_name: snipeit
|
|
ports:
|
|
- 8000:80
|
|
volumes:
|
|
- ./logs:/var/www/html/storage/logs
|
|
depends_on:
|
|
- mariadb
|
|
- redis
|
|
env_file:
|
|
- .env.docker
|
|
networks:
|
|
- snipeit-backend
|
|
|
|
mariadb:
|
|
image: mariadb:latest
|
|
volumes:
|
|
- db:/var/lib/mysql
|
|
env_file:
|
|
- .env.docker
|
|
networks:
|
|
- snipeit-backend
|
|
|
|
redis:
|
|
image: redis:latest
|
|
networks:
|
|
- snipeit-backend
|
|
|
|
mailhog:
|
|
image: mailhog/mailhog:latest
|
|
ports:
|
|
# - 1025:1025
|
|
- 8025:8025
|
|
networks:
|
|
- snipeit-backend
|
|
|
|
|
|
volumes:
|
|
db: {}
|
|
|
|
networks:
|
|
snipeit-backend: {} |