Advertisement
ovizii

docker-compose.yml for shinobi

May 12th, 2021
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. version: '3.8'
  2.  
  3. # https://gitlab.com/MiGoller/ShinobiDocker
  4.  
  5. services:
  6. shinobi-db:
  7. image: mariadb:10.5
  8. container_name: shinobi-db
  9. hostname: shinobi-db
  10. restart: "no"
  11. env_file:
  12. - MySQL.env
  13. volumes:
  14. - ./data:/var/lib/mysql
  15. networks:
  16. - shinobi
  17. shinobi:
  18. image: migoller/shinobidocker:microservice-alpine
  19. container_name: shinobi
  20. hostname: shinobi
  21. restart: "no"
  22. env_file:
  23. - MySQL.env
  24. - Shinobi.env
  25. environment:
  26. - "TZ=Europe/Berlin"
  27. volumes:
  28. - /etc/localtime:/etc/localtime:ro
  29. - /etc/timezone:/etc/timezone:ro
  30. - ./config:/config
  31. - ./videos:/opt/shinobi/videos
  32. - /dev/shm/shinobiDockerTemp:/dev/shm/streams
  33. # devices:
  34. # - /dev/dri:/dev/dri
  35. ports:
  36. - "8088:8080"
  37. networks:
  38. - traefik
  39. - shinobi
  40.  
  41.  
  42. networks:
  43. traefik:
  44. external:
  45. name: traefik
  46. shinobi:
  47. external:
  48. name: shinobi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement