Advertisement
Guest User

docker compose

a guest
Apr 22nd, 2024
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | Software | 0 0
  1.  
  2. version: '3.5'
  3. services:
  4. jellyfin:
  5. image: jellyfin/jellyfin
  6. container_name: jellyfin
  7. network_mode: 'host'
  8. volumes:
  9. - /home/kelsey/jellyfin/Config:/config
  10. - /home/kelsey/jellyfin/Cache:/cache
  11. - type: bind
  12. source: /home/kelsey/jellyfin/media
  13. target: /media
  14. - type: bind
  15. source: /home/kelsey/jellyfin/media2
  16. target: /media2
  17. read_only: true
  18. restart: 'unless-stopped'
  19. # Optional - alternative address used for autodiscovery
  20. environment:
  21. - JELLYFIN_PublishedServerUrl=http://example.com
  22. # Optional - may be necessary for docker healthcheck to pass if running in host network mode
  23. extra_hosts:
  24. - 'host.docker.internal:host-gateway'
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement