diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2021-09-20 19:43:18 +0000 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2021-09-20 19:43:18 +0000 |
| commit | f830bab4ec14f3fe814962a6a2dee180149c3a6a (patch) | |
| tree | 9a7c3138c0afd2ce5423002d6d8163bbf39ea318 /.devcontainer/docker-compose.yml | |
| parent | 67c22d10e4583e29d33933e4b1b88f9d02f3da47 (diff) | |
| download | ao-coverage-f830bab4ec14f3fe814962a6a2dee180149c3a6a.tar.gz ao-coverage-f830bab4ec14f3fe814962a6a2dee180149c3a6a.tar.bz2 ao-coverage-f830bab4ec14f3fe814962a6a2dee180149c3a6a.zip | |
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
Diffstat (limited to '.devcontainer/docker-compose.yml')
| -rw-r--r-- | .devcontainer/docker-compose.yml | 25 |
1 files changed, 22 insertions, 3 deletions
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 |
