Skip to content

Instantly share code, notes, and snippets.

@kazazes
Last active August 10, 2019 10:21
Show Gist options
  • Save kazazes/f04ac32c9f44ffc1df2bf9ee5798b58d to your computer and use it in GitHub Desktop.
Save kazazes/f04ac32c9f44ffc1df2bf9ee5798b58d to your computer and use it in GitHub Desktop.
version: '3.5'
services:
server:
image: quay.io/assemblyai-onprem/model-server:3.0.1_default_gpu
command: python start_server.py
environment:
SKIP_DECODER: 1
MAX_TRANSCRIPTS_PARALLEL: 8
expose:
- 9999
ports:
- 9999:9999
restart: always
links:
- redis
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
worker:
image: quay.io/assemblyai-onprem/model-server:3.0.1_default_gpu
command: python start_worker.py
environment:
LOGLEVEL: 'DEBUG'
MAX_TRANSCRIPTS_PARALLEL: 8
restart: always
links:
- redis
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
redis:
image: redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment