Created
March 28, 2016 07:33
-
-
Save lukasheinrich/b239356e6714d8578564 to your computer and use it in GitHub Desktop.
recast worker compose tesst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
plugin: | |
image: lukasheinrich/recast-cap-demo | |
command: bash -c 'cd /workdirsdata && celery worker -A recastbackend.fromenvapp:app -l debug -Q $$RECAST_QUEUE' | |
environment: | |
- C_FORCE_ROOT=yes | |
- CELERY_REDIS_HOST=lheinric-newcc | |
- CELERY_REDIS_PORT=6379 | |
- CELERY_REDIS_DB=0 | |
- RECAST_QUEUE=recast_cap_queue | |
- RECAST_SHIP_USER=root | |
- RECAST_SHIP_HOST=lheinric-newcc | |
- RECAST_SHIP_PORT=22 | |
- RECAST_IN_DOCKER_WORKDIRS_VOL=$RECAST_IN_DOCKER_WORKDIRS_VOL | |
- PACKTIVITY_WITHIN_DOCKER=true | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- $HOME/.ssh:/root/.ssh | |
- $RECAST_IN_DOCKER_WORKDIRS_VOL:/workdirsdata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment