Skip to content

Instantly share code, notes, and snippets.

@vertig0ne
Created December 6, 2018 23:39
Show Gist options
  • Save vertig0ne/6d4fa5efbf46d4bc5e0022904815733f to your computer and use it in GitHub Desktop.
Save vertig0ne/6d4fa5efbf46d4bc5e0022904815733f to your computer and use it in GitHub Desktop.
MB
---
version: '2'
networks:
backend:
driver: bridge
general:
driver: bridge
services:
mediabutler:
container_name: "mediabutler"
image: mediabutler/server:latest
hostname: mediabutler
environment:
- "URL=https://example.com/mediabutler/"
- "DB_URL=mongodb://mongo:27017/mediabutler"
- "PLEX_MACHINE_ID=PLEX_MACHINE_ID_HERE"
- "PLEX_URL=http://192.168.1.100:32400/"
volumes:
- ${HOME}/docker/mediabutler:/config:rw
networks:
- general
- backend
ports:
- 9876:9876
links:
- mongo
depends_on:
- mongo
mongo:
image: mongo:latest
container_name: "mongo"
hostname: mongo
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
- MONGO_URL=mongodb://mongo:27017/
volumes:
- ${HOME}/docker/mongodb:/data/db:rw
networks:
- backend
command: mongod --smallfiles --bind_ip_all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment