Browse Source

init

master
Robin Thoni 7 years ago
commit
2815dc6356
1 changed files with 16 additions and 0 deletions
  1. 16
    0
      README.md

+ 16
- 0
README.md View File

@@ -0,0 +1,16 @@
1
+# Luticate 2
2
+
3
+## Docker
4
+
5
+```shell
6
+projectName=myproject
7
+apiLocation="/var/${projectName}"
8
+httpPort=8080
9
+wsPort=8180
10
+
11
+imageName="${projectName}"-luticate2-image
12
+containerName="${projectName}"-luticate2-container
13
+cd docker
14
+docker build -t "${tag}" 
15
+docker run -d -v "${apiLocation}":/var/www -p ${httpPort}:80 -p ${wsPort}:81 --name="${containerName}" "${imageName}"
16
+```

Loading…
Cancel
Save