File: docker-compose.yml

package info (click to toggle)
open-build-service 2.9.4-10
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 30,544 kB
  • sloc: ruby: 73,389; perl: 51,999; xml: 9,782; sh: 5,540; javascript: 2,743; sql: 1,232; python: 435; makefile: 229; cpp: 46
file content (35 lines) | stat: -rw-r--r-- 637 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: "2"
services:
  db:
    image: openbuildservice/mariadb
    ports:
      - "3306:3306"
  cache:
    image: openbuildservice/memcached
    ports:
      - "11211:11211"
  backend:
    image: openbuildservice/backend
    volumes:
      - .:/obs
  worker:
    image: openbuildservice/backend
    volumes:
      - .:/obs
    privileged: true
    depends_on:
      - backend
    command: /obs/contrib/start_development_worker
  frontend:
    image: openbuildservice/frontend
    build:
      context: .
    volumes:
      - .:/obs
    ports:
      - "3000:3000"
    depends_on:
      - db
      - cache
      - backend
      - worker