Du kan bruge command
mulighed for docker-compose.yml
mongodb:
container_name: mongodb
image: mongo:3.2
command: mongod --httpinterface
volumes:
- mongo_data:/data/db
ports:
- "57017:27017"
restart: always
Du kan bruge command
mulighed for docker-compose.yml
mongodb:
container_name: mongodb
image: mongo:3.2
command: mongod --httpinterface
volumes:
- mongo_data:/data/db
ports:
- "57017:27017"
restart: always