diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2021-09-21 03:05:09 +0000 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2021-09-21 03:05:09 +0000 |
| commit | 506ae8772e1bf6591081dccfdd02caea8892b3d0 (patch) | |
| tree | 8a028e2783f366f47cbcc2a19ddfcffc6921da35 /.devcontainer/docker-compose.yml | |
| parent | 400ab021c92101bc6db1f70fba41e673de7ee14a (diff) | |
| download | ao-coverage-506ae8772e1bf6591081dccfdd02caea8892b3d0.tar.gz ao-coverage-506ae8772e1bf6591081dccfdd02caea8892b3d0.tar.bz2 ao-coverage-506ae8772e1bf6591081dccfdd02caea8892b3d0.zip | |
Tweaks and Fixes
- Change default port for Dockerfile to 80
- Use cobertura for coverage report :)
- Add starter data for .devcontainer
- Add FORMAT var for sh script (*needs change)
Diffstat (limited to '.devcontainer/docker-compose.yml')
| -rw-r--r-- | .devcontainer/docker-compose.yml | 16 |
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 |
