From f830bab4ec14f3fe814962a6a2dee180149c3a6a Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Mon, 20 Sep 2021 19:43:18 +0000 Subject: The Whole Barnshow Commit - Use yarn-berry instead of npm, with Zero Install feature and goodies - Add `initializeToken` to post unique token to logs on startup - Package upgrades - Fix index.html.template tests I will never do this again --- .devcontainer/docker-compose.yml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to '.devcontainer/docker-compose.yml') diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 3b17947..0e637d0 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -6,14 +6,32 @@ services: context: . dockerfile: Dockerfile args: - # [Choice] Node.js version: 16, 14, 12 - VARIANT: 14 # On Linux, you may need to update USER_UID and USER_GID below if not your local UID is not 1000. USER_UID: 1000 USER_GID: 1000 + 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 + + # App configuration + LOG_LEVEL: info + UPLOAD_LIMIT: 4194304 + STAGE_1: 95 + STAGE_2: 80 + volumes: - ..:/workspace:cached + - node-nm:/workspace/node_modules:cached # Overrides default command so things don't shut down after the process ends. command: sleep infinity @@ -43,4 +61,5 @@ services: # (Adding the "ports" property to this file will not forward from a Codespace.) volumes: - mongodb-data: \ No newline at end of file + mongodb-data: + node-nm: \ No newline at end of file -- cgit