User Tools

Site Tools


Sidebar

docker:compose

Q. I'm trying to start Tarantool’s Docker image with my own script, but it crashes, and Docker logs are empty.

Here’s my docker-compose.yml:

tarantool:                                                                                                                                                                                                        
    image: tarantool/tarantool:1.7                                                                                                                                                                                  
    volumes:                                                                                                                                                                                                        
      - ./tarantool/data:/var/lib/tarantool                                                                                                                                                                         
      - ./tarantool/app:/opt/tarantool                                                                                                                                                                              
    mem_limit: 500M                                                                                                                                                                                                 
    command: ["tarantool", "/opt/tarantool/app.lua"]

(2017)

A. Take a look at https://github.com/tarantool-php/jobserver/blob/master/docker-compose.yml#L4-L17.

Comments

Enter your comment. Wiki syntax is allowed:
I​ I᠎ L I F
 
docker/compose.txt · Last modified: 2018/05/25 18:45 by eabates

Real Time Web Analytics