ユーザ用ツール

サイト用ツール


global:技術者向けtips

ボカロ丼運営のTIPS

Dockerの設定

  • こんな感じでsidekiqを複数立ち上げてやってます。
  sidekiq1:
    restart: always
    build: .
    image: gargron/mastodon
    env_file: .env.production
    command: bundle exec sidekiq -c 5 -q default
    depends_on:
      - db
      - redis
    volumes:
      - ./public/system:/mastodon/public/system

  sidekiq2:
    restart: always
    build: .
    image: gargron/mastodon
    env_file: .env.production
    command: bundle exec sidekiq -c 5 -q mailers
    depends_on:
      - db
      - redis
    volumes:
      - ./public/system:/mastodon/public/system

  sidekiq3:
    restart: always
    build: .
    image: gargron/mastodon
    env_file: .env.production
    command: bundle exec sidekiq -c 5 -q pull
    depends_on:
      - db
      - redis
    volumes:
      - ./public/system:/mastodon/public/system

  sidekiq4:
    restart: always
    build: .
    image: gargron/mastodon
    env_file: .env.production
    command: bundle exec sidekiq -c 5 -q push
    depends_on:
      - db
      - redis
    volumes:
      - ./public/system:/mastodon/public/system
global/技術者向けtips.txt · 最終更新: 2017/09/15 12:18 by tomoki

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki