aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to '.devcontainer/docker-compose.yml')
-rw-r--r--.devcontainer/docker-compose.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml
index 74b5210..3f03bc3 100644
--- a/.devcontainer/docker-compose.yml
+++ b/.devcontainer/docker-compose.yml
@@ -10,10 +10,10 @@ services:
USER_UID: 1000
USER_GID: 1000
- # Change this if you want zsh as your shell
INSTALL_ZSH: false
+ MONGO_TOOLS_VERSION: 4.2
- # Volume directory for hosted files. This directory is created in the Dockerfile with proper permissions. This is set as an env-var in the Dockerfile
+ # Volume directory for hosted files. This directory is created on image build with proper permissions. This is set as an env-var in the Dockerfile
HOST_DIR: /dist
environment:
@@ -35,6 +35,7 @@ services:
volumes:
- ..:/workspace:cached
- node-nm:/workspace/node_modules:cached
+ - dev-dist:/dist:cached
# Overrides default command so things don't shut down after the process ends.
command: sleep infinity
@@ -53,16 +54,15 @@ services:
restart: unless-stopped
volumes:
- mongodb-data:/data/db
+ - ./mongo:/docker-entrypoint-initdb.d
- # Uncomment to change startup options
- # environment:
- # MONGO_INITDB_ROOT_USERNAME: root
- # MONGO_INITDB_ROOT_PASSWORD: example
- # MONGO_INITDB_DATABASE: your-database-here
+ environment:
+ MONGO_INITDB_DATABASE: ao-coverage
# Add "forwardPorts": ["27017"] to **devcontainer.json** to forward MongoDB locally.
# (Adding the "ports" property to this file will not forward from a Codespace.)
volumes:
mongodb-data:
- node-nm: \ No newline at end of file
+ node-nm:
+ dev-dist: \ No newline at end of file