Kaynağa Gözat

init

master
Robin Thoni 8 yıl önce
işleme
2815dc6356
1 değiştirilmiş dosya ile 16 ekleme ve 0 silme
  1. 16
    0
      README.md

+ 16
- 0
README.md Dosyayı Görüntüle

@@ -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…
İptal
Kaydet