Robin Thoni il y a 8 ans
révision
2815dc6356
1 fichiers modifiés avec 16 ajouts et 0 suppressions
  1. 16
    0
      README.md

+ 16
- 0
README.md Voir le fichier

@@ -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
+```

Chargement…
Annuler
Enregistrer