Created
December 17, 2019 22:58
-
-
Save Iduoad/30e7a3992b9be28ea472afafc0a5f355 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
mongodb: | |
build: . | |
restart: always | |
environment: | |
- MONGO_DATA_DIR=/data/db | |
- MONGO_LOG_DIR=/dev/null | |
volumes: | |
- ./mongodata:/data/db | |
ports: | |
- 27017:27017 | |
mongo-seed: | |
build: ./mongo-seed | |
depends_on: | |
- mongodb | |
metabase-app: | |
image: metabase/metabase | |
restart: always | |
ports: | |
- 3000:3000 | |
volumes: | |
- ./metabase-data:/metabase-data | |
environment: | |
- MB_DB_FILE=/metabase-data/metabase.db | |
depends_on: | |
- mongodb | |
- mongo-seed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment