Skip to content

Commit

Permalink
Fixes mistakes in the docker compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
prasadtalasila committed Dec 12, 2024
1 parent 1f2956a commit f69f8fa
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 18 deletions.
12 changes: 10 additions & 2 deletions deploy/config/libms.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
port: '4001'
mode: 'local'
mode: 'local' #git or local
local-path: '/dtaas/libms/files'
log-level: 'debug'
apollo-path: '/lib'
graphql-playground: 'true'
graphql-playground: 'true'

git-repos: #only used in git mode
- user1:
repo-url: 'https://gitlab.com/dtaas/user1.git'
- user2:
repo-url: 'https://gitlab.com/dtaas/user2.git'
- common:
repo-url: 'https://gitlab.com/dtaas/common.git'
4 changes: 4 additions & 0 deletions servers/lib/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ of the microservices uses the configuration
file available in `config/libms.dev.yaml`.

For more see [configuration documentation](./README.md#gear-configure).
The `config/libms.dev.yaml` file is used for configuration of the container.

A new directory named `files` is created in `servers/lib` directory and
files are saved and served from the `files` directory.

### Use

Expand Down
6 changes: 3 additions & 3 deletions servers/lib/compose.lib.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
context: ../../
dockerfile: ./docker/libms.dockerfile
volumes:
- ${LOCAL_PATH}:/dtaas/libms/files
- ./config/libms.dev.yaml:/dtaas/libms/config/libms.yaml
- ./files:/dtaas/libms/files
- ./config/libms.dev.yaml:/dtaas/libms/libms.yaml
ports:
- ${PORT}:4001
- 4001:4001
1 change: 1 addition & 0 deletions servers/lib/compose.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ services:
image: intocps/libms:latest
restart: unless-stopped
volumes:
- ./config/libms.dev.yaml:/dtaas/libms/libms.yaml
- ./files:/dtaas/libms/files
ports:
- "4001:4001"
2 changes: 1 addition & 1 deletion servers/lib/config/libms.dev.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
port: '4001'
mode: 'local' #git or local
local-path: '..\..\files'
local-path: '/dtaas/libms/files'
log-level: 'debug'
apollo-path: '/lib'
graphql-playground: 'true'
Expand Down
12 changes: 0 additions & 12 deletions servers/lib/libms.yaml.sample

This file was deleted.

0 comments on commit f69f8fa

Please sign in to comment.