File: docker-compose.yml

package info (click to toggle)
ruby-sidekiq-cron 1.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 476 kB
  • sloc: ruby: 1,822; sh: 8; makefile: 3
file content (21 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '2'
services:
  common:
    build:
      context: .
    image: sidekiq-cron-test
    environment: &environment
    - REDIS_URL=redis://redis.test:6379/0
    dns:
    - 8.8.8.8
    - 8.8.4.4
  redis:
    image: redis
  tests:
    image: sidekiq-cron-test
    environment: *environment
    links:
    - redis:redis.test
    depends_on:
    - common
    command: dockerize -wait tcp://redis.test:6379 -timeout 60s rake test