Skip to content

Commit

Permalink
updated to use new dev config
Browse files Browse the repository at this point in the history
  • Loading branch information
nichlaes committed Dec 10, 2024
1 parent f863b4d commit 864d9f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docker/compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ services:
restart: unless-stopped
volumes:
- ${DTAAS_DIR}/files:/dtaas/libms/files
- ${LIB_CONFIG}:/dtaas/libms/config/.env.default
- ${LIB_CONFIG}:/dtaas/libms/config/libms.dev.yaml
labels:
- "traefik.enable=true"
- "traefik.http.routers.libms.entryPoints=web"
Expand Down
2 changes: 1 addition & 1 deletion docs/developer/docker/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The configuration files to be updated are:
1. **client/config/local.js**
please see [client config](../../admin/client/config.md) for help
with updating this config file
1. **servers/lib/config/.env.default**
1. **servers/lib/config/libms.dev.yaml**
please see [lib config](../../admin/servers/lib/docker.md) for help
with updating this config file

Expand Down
14 changes: 2 additions & 12 deletions servers/lib/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,7 @@ running the following commands.

The microservices require configuration and the docker version
of the microservices uses the configuration
file available in `config/.env.default`.

Please add a `.env` file with the environment variables for
the docker compose file to use.
e.g.

```sh
PORT='4001'
MODE='local'
LOCAL_PATH='..\..\files'
```
file available in `config/libms.dev.yaml`.

### Use

Expand All @@ -140,7 +130,7 @@ docker compose -f compose.lib.dev.yml up -d

This command brings up the lib docker container and makes
the website available at <http://localhost:4001>.
The `config/.env.default` file is used as the microservice configuration.
The `config/libms.dev.yaml` file is used as the microservice configuration.
If the configuration values are changed, please restart the container.

```bash
Expand Down

0 comments on commit 864d9f6

Please sign in to comment.