Created
December 6, 2018 23:39
-
-
Save vertig0ne/6d4fa5efbf46d4bc5e0022904815733f to your computer and use it in GitHub Desktop.
MB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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