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.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml
index 0e637d0..a423754 100644
--- a/.devcontainer/docker-compose.yml
+++ b/.devcontainer/docker-compose.yml
@@ -10,15 +10,17 @@ services:
USER_UID: 1000
USER_GID: 1000
+ # 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
+ HOST_DIR: /dist
+
+ # Place env var changes in this file (`.devcontainer/devcontainer.env`) to persist them without tracking/staging changes
+ env_file: devcontainer.env
environment:
# port and bind info
PORT: 3000
BIND_ADDRESS: localhost
TARGET_URL: http://localhost:3000
- # Volume directory for hosted files. This directory is already created and has proper permissions
- HOST_DIR: /dist
-
# DB info
MONGO_URI: mongodb://db:27017
MONGO_DB: ao-coverage