Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app:
- build: ../../
- dockerfile: docker/release/Dockerfile
- links:
- - db
- environment:
- DJANGO_SETTINGS_MODULE: todobackend.settings.release
- MYSQL_HOST: db
- MYSQL_USER: todo
- MYSQL_PASSWORD: password
- volumes_from:
- - webroot
- command:
- - uwsgi
- - "--socket /var/www/todobackend/todobackend.sock"
- - "--chmod-socket=666"
- - "--module todobackend.wsgi"
- - "--master"
- - "--die-on-term"
- test:
- image: jmenga/todobackend-specs
- links:
- - nginx
- environment:
- URL: http://nginx:8000/todos
- JUNIT_REPORT_PATH: /reports/acceptance.xml
- JUNIT_REPORT_STACK: 1
- command: --reporter mocha-jenkins-reporter
- nginx:
- build: .
- dockerfile: Dockerfile.nginx
- links:
- - app
- ports:
- - "8000:8000"
- volumes_from:
- - webroot
- webroot:
- build: ../../
- dockerfile: docker/release/Dockerfile
- volumes:
- - /var/www/todobackend
- entrypoint: "true"
- db:
- image: mysql:5.6
- expose:
- - "3306"
- environment:
- MYSQL_DATABASE: todobackend
- MYSQL_USER: todo
- MYSQL_PASSWORD: password
- MYSQL_ROOT_PASSWORD: password
- agent:
- image: jmenga/ansible
- links:
- - db
- environment:
- PROBE_HOST: "db"
- PROBE_PORT: "3306"
- command: ["probe.yml"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement