employee_clock/docker-compose.yaml

20 lines
478 B
YAML
Raw Normal View History

2023-06-28 10:48:40 +00:00
version: '3'
services:
mongodb:
image: arm64v8/mongo:4.0
restart: always
ports:
- 27017:27017
volumes:
- payplus_volume:/data/db
- ./init-scripts/init.js:/docker-entrypoint-initdb.d/mongo-init.js
environment:
- MONGO_INITDB_DATABASE=your-database-name
- MONGO_INITDB_ROOT_USERNAME=your-username
- MONGO_INITDB_ROOT_PASSWORD=your-password
platform: linux/arm64/v8
expose:
- 27017
volumes:
payplus_volume: