Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2.0'
- services:
- worker:
- stop_signal: SIGINT
- image: mpto/athenas
- dns: 10.0.0.1
- dns_search: mprr.mp.br
- volumes:
- - ./app-vol:/app
- - ./js-vol:/app/var/www
- - ${HOME}/.ssh:/home/user/.ssh
- # - ${HOME}/.dot-files:/home/user/.dot-files
- # - ${HOME}/.bashrc:/home/user/.bashrc
- - ${HOME}/.hgrc:/home/user/.hgrc
- links:
- - db
- - memcache
- - mongo
- celery:
- stop_signal: SIGINT
- image: mpto/athenas
- command: celery
- environment:
- SCM_HOST=10.0.0.31
- SCM_USER=hg
- volumes:
- - ./app-vol:/app
- - ${HOME}/.ssh:/home/user/.ssh
- links:
- - db
- - mongo
- flower:
- stop_signal: SIGINT
- image: mpto/athenas
- command: flower
- ports:
- - 8001:8001
- environment:
- - DJANGO_SETTINGS_MODULE=app.settings
- volumes:
- - ./app-vol:/app
- - ${HOME}/.ssh:/home/user/.ssh
- links:
- - mongo
- minifier:
- stop_signal: SIGINT
- image: mpto/athenas
- command: minifier
- environment:
- - DJANGO_SETTINGS_MODULE=app.settings
- volumes:
- - ./app-vol:/app
- - ./js-vol:/app/var/www
- links:
- - db
- mongo:
- image: mongo
- memcache:
- image: memcached:1.4
- command: memcached -m 16
- db:
- image: postgres:9.4
- environment:
- POSTGRES_PASSWORD: 123
- volumes:
- - ./db-vol:/var/lib/postgresql/data
- ports:
- - "5433:5432"
- web:
- stop_signal: SIGINT
- image: mpto/nginx
- ports:
- - "8000:8000"
- volumes:
- - ./app-vol:/app
- - ./js-vol:/app/var/www
- links:
- - worker
- - flower
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement