Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
karname-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Reza Sahebgharan
karname-ui
Commits
ecdd3cf0
Commit
ecdd3cf0
authored
Nov 09, 2019
by
Reza Sahebgharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update readme
parent
f9989764
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
51 deletions
+14
-51
README.md
README.md
+14
-51
No files found.
README.md
View file @
ecdd3cf0
## Installation Guide
## Installation Guide
1.
create a folder in the production server for example in the drive C(ex:C
:/build)
-
create a folder in the production server for example in the drive C(ex: c
:/build)
2.
navigate to created folder in step 1 and create a file called docker-compose.yml (ex: c:/build/docker-compose.yml)
-
navigate to created folder in previous step and create a file called docker-compose.yml (ex: c:/build/docker-compose.yml)
3.
open docker-compose.yml with an editor and paste following statements in the created docker compose file
-
open docker-compose.yml with an editor and paste following statements in the created docker compose file
*
please consider that "worklistUrl" is the ip of worklist services for fetching and editing worklists
*
please consider that "worklistUrl" is the ip of worklist services for fetching and editing worklists
*
if the worklist services have been deployed in a container, "worklistUrl" must be container_name of worklist in docker
*
if the worklist services have been deployed in a container, "worklistUrl" must be container_name of worklist in docker
-----------------------------------------------------------------
```
version: '3'
version: '3'
services:
services:
app:
app:
container_name: karname-app
container_name: karname-app
restart: always
restart: always
image: repo.marcopacs.com/karname/karname-app
image: repo.marcopacs.com/karname/karname-app
ports:
ports:
- '80:3000'
- '80:3000'
depends_on:
depends_on:
- mongo
- mongo
links:
links:
- mongo
- mongo
environment:
environment:
ROOT_URL: ${APP_ROOT_URL:-http://localhost}
ROOT_URL: ${APP_ROOT_URL:-http://localhost}
MONGO_URL: mongodb://mongo:27017/karname
MONGO_URL: mongodb://mongo:27017/karname
PORT: 3000
PORT: 3000
METEOR_SETTINGS: '{"worklistUrl":"http://karname-broker"}'
METEOR_SETTINGS: '{"worklistUrl":"http://karname-broker"}'
mongo:
mongo:
image: repo.marcopacs.com/karname/mongo-windows
image: repo.marcopacs.com/karname/mongo-windows
volumes:
volumes:
- C:\data\db:C:\data\db
- C:\data\db:C:\data\db
volumes:
volumes:
data:
data:
networks:
networks:
default:
default:
external:
external:
name: nat
name: nat
```
-
navigate to Drive C and create a folder called "data"
-
navigate to C:/data and create a folder called "db"
-
open CMD
-
CD to created folder in step 1 (ex: cd C:/build)
-------------------------------------------------------------------
-
login into repo.marcopacs.com with following command:
4.
navigate to Drive C and create a folder called "data"
5.
navigate to C:/data and create a folder called "db"
6.
open CMD
7.
CD to created folder in step 1 (ex: cd C:/build)
8.
login into repo.marcopacs.com with following command:
##### docker login -u username -p password repo.marcopacs.com
--------------------------------------------------------------------
docker login -u username -p password repo.marcopacs.com
--------------------------------------------------------------------
9.
run following command:
-
run following command:
#####docker-compose up -d --force-recreate
--------------------------------------------------------------------
-
goto localhost
docker-compose up -d --force-recreate
--------------------------------------------------------------------
10.
goto localhost
in this app data of mongodb will be mapped to created folder in step 5.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment