docker-compose.debug.yml 546 B

123456789101112131415161718192021222324252627282930
  1. version: '3.4'
  2. services:
  3. mongo:
  4. image: mongo:latest
  5. container_name: infisical-dev-mongo
  6. restart: always
  7. # env_file: .env
  8. environment:
  9. - MONGO_INITDB_ROOT_USERNAME=root
  10. - MONGO_INITDB_ROOT_PASSWORD=example
  11. volumes:
  12. - mongo-data:/data/db
  13. networks:
  14. - infisical-dev
  15. ports:
  16. - "27017:27017"
  17. logging:
  18. driver: 'json-file'
  19. options:
  20. max-size: '30m'
  21. max-file: '1'
  22. volumes:
  23. mongo-data:
  24. networks:
  25. infisical-dev:
  26. driver: bridge