123456789101112131415161718192021222324252627282930 |
- version: '3.4'
- services:
- mongo:
- image: mongo:latest
- container_name: infisical-dev-mongo
- restart: always
- # env_file: .env
- environment:
- - MONGO_INITDB_ROOT_USERNAME=root
- - MONGO_INITDB_ROOT_PASSWORD=example
- volumes:
- - mongo-data:/data/db
- networks:
- - infisical-dev
- ports:
- - "27017:27017"
- logging:
- driver: 'json-file'
- options:
- max-size: '30m'
- max-file: '1'
-
- volumes:
- mongo-data:
- networks:
- infisical-dev:
- driver: bridge
|