Alexander Palchikov 3 жил өмнө
parent
commit
e92ce2eb6c

+ 3 - 0
.env.example

@@ -999,3 +999,6 @@ GEARMAN_MYSQL_TABLE=gearman_queue
 
 ### ELK Stack ##################################################
 ELK_VERSION=7.9.1
+
+### Tarantool ##################################################
+TARANTOOL_PORT=3301

+ 12 - 0
docker-compose.yml

@@ -1977,3 +1977,15 @@ services:
         ZK_HOSTS: zookeeper:2181
       networks:
         - backend
+
+
+### tarantool ###########################################
+    tarantool:
+      build: ./tarantool
+      volumes:
+        - ${DATA_PATH_HOST}/tarantool:/var/lib/tarantool
+        - ./tarantool/lua:/opt/tarantool
+      ports:
+        - ${TARANTOOL_PORT}:3301
+      networks:
+        - backend

+ 3 - 0
tarantool/Dockerfile

@@ -0,0 +1,3 @@
+FROM tarantool/tarantool:2
+
+LABEL maintainer="Alexander Palchikov <axelpal@gmail.com>"

+ 2 - 0
tarantool/lua/.gitignore

@@ -0,0 +1,2 @@
+*
+!.gitignore