dockerfiles icon indicating copy to clipboard operation
dockerfiles copied to clipboard

-b option for beanstalkd

Open StalkAlex opened this issue 7 years ago • 3 comments

Could you add variant with binary log and volume?

StalkAlex avatar Mar 16 '17 07:03 StalkAlex

I want to add the -b option in docker-compose,and i had tried command: beanstalkd -b /some/dir but it doesn't work. could you tell me how to use the -b option in docker-compose.yml? beanstalkd: image: schickling/beanstalkd:latest # command: beanstalkd -b /etc/beanstalkdlog (this command doesn't work) volumes: - ${BEANSTALKD_LOG}:/etc/beanstalkdlog:ro ports: - "${BEANSTALKD_HOST_PORT}:11300" networks: - default

alexxd35 avatar Nov 30 '18 03:11 alexxd35

I have the same problem, have you solved it?

xxy123456 avatar Mar 08 '19 08:03 xxy123456

please see this comment that explains how to use this: https://github.com/schickling/dockerfiles/issues/107#issuecomment-444124965

to use with docker-compose add your volume and add a command like this:

  beanstalkd:
    image: schickling/beanstalkd
    container_name: beanstalkd
    volumes:
      - /opt/docker/beanstalkd-data:/data
    ports:
      - 11300:11300
    command: "-p 11300 -b /data"

uchagani avatar Mar 04 '20 15:03 uchagani