Advertisement
hfelix

docker-compose.yml

Feb 2nd, 2022 (edited)
40
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None
  1. version: '3.5'
  2.  
  3. services:
  4.  
  5. supervisord:
  6. build:
  7. context: .
  8. container_name: supervisord
  9. restart: always
  10. command: ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]
  11. environment:
  12. - "DIRECTORY=/var/www/MYPATH"
  13. - "DEFAULT_QUEUE_CMD=php artisan queue:work --sleep=5 --delay=1 --tries=3 --timeout=120 --queue=default"
  14. - "PORTAL_TELEGRAM_QUEUE_CMD=php artisan queue:work --sleep=5 --delay=1 --tries=3 --timeout=120 --queue=portal_telegram"
  15. - "PORTAL_EMAIL_QUEUE_CMD=php artisan queue:work --sleep=5 --delay=1 --tries=3 --timeout=120 --queue=portal_email"
  16. - "PORTAL_EMAIL_CLIENT_QUEUE_CMD=php artisan queue:work --sleep=5 --delay=1 --tries=3 --timeout=120 --queue=portal_cliente_email"
  17. - "PORTAL_PUSH_QUEUE_CMD=php artisan queue:work --sleep=5 --delay=1 --tries=3 --timeout=120 --queue=portal_push"
  18. - "APP_MOTORISTAS_QUEUE_CMD=php artisan queue:work --sleep=5 --delay=1 --tries=3 --timeout=120 --queue=app_motoristas"
  19. volumes:
  20. - './../../Projetos/:/var/www/'
  21. - "./supervisord.conf:/etc/supervisor/supervisord.conf"
  22. - "./supervisord-programs.conf:/etc/supervisor/conf.d/app.conf"
  23. - "./logs:/var/log/supervisor"
Advertisement
RAW Paste Data Copied
Advertisement