diff --git a/.env.example b/.env.example index 04354135..c949de03 100644 --- a/.env.example +++ b/.env.example @@ -999,3 +999,6 @@ GEARMAN_MYSQL_TABLE=gearman_queue ### ELK Stack ################################################## ELK_VERSION=7.9.1 + +### Tarantool ################################################## +TARANTOOL_PORT=3301 diff --git a/docker-compose.yml b/docker-compose.yml index f0d828ce..56dd363c 100644 --- a/docker-compose.yml +++ b/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 diff --git a/tarantool/Dockerfile b/tarantool/Dockerfile new file mode 100644 index 00000000..c8ed8957 --- /dev/null +++ b/tarantool/Dockerfile @@ -0,0 +1,3 @@ +FROM tarantool/tarantool:2 + +LABEL maintainer="Alexander Palchikov " \ No newline at end of file diff --git a/tarantool/lua/.gitignore b/tarantool/lua/.gitignore new file mode 100644 index 00000000..c96a04f0 --- /dev/null +++ b/tarantool/lua/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore \ No newline at end of file