Web_Crawler_API/docker-compose.yaml

17 lines
475 B
YAML
Raw Normal View History

2023-05-30 12:10:17 +00:00
version: '3'
services:
mongodb:
image: arm64v8/mongo:4.0
restart: always
ports:
- 27017:27017
volumes:
- mongodb_data:/data/db
- ./init-scripts/init.js:/docker-entrypoint-initdb.d/mongo-init.js
environment:
2023-05-30 12:18:48 +00:00
- MONGO_INITDB_DATABASE=${DB_DATABASE}
- MONGO_INITDB_ROOT_USERNAME=${MONGO_INITDB_ROOT_USERNAME}
- MONGO_INITDB_ROOT_PASSWORD=${MONGO_INITDB_ROOT_PASSWORD}
2023-05-30 12:10:17 +00:00
platform: linux/arm64/v8
volumes:
mongodb_data: