mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-20 21:53:19 +03:00
Updated docker-compose to include mongodb instance
This commit is contained in:
@@ -3,6 +3,8 @@ services:
|
|||||||
ytdl_material:
|
ytdl_material:
|
||||||
environment:
|
environment:
|
||||||
ALLOW_CONFIG_MUTATIONS: 'true'
|
ALLOW_CONFIG_MUTATIONS: 'true'
|
||||||
|
ytdl_mongodb_connection_string: 'mongodb://ytdl-mongo-db:27018'
|
||||||
|
ytdl_use_local_db: 'false'
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./appdata:/app/appdata
|
- ./appdata:/app/appdata
|
||||||
@@ -13,3 +15,12 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8998:17442"
|
- "8998:17442"
|
||||||
image: tzahi12345/youtubedl-material:latest
|
image: tzahi12345/youtubedl-material:latest
|
||||||
|
ytdl-mongo-db:
|
||||||
|
image: mongo
|
||||||
|
ports:
|
||||||
|
- "27018:27017"
|
||||||
|
logging:
|
||||||
|
driver: "none"
|
||||||
|
container_name: mongo-db
|
||||||
|
volumes:
|
||||||
|
- ./db/:/data/db
|
||||||
Reference in New Issue
Block a user