forked from openSUSE/open-build-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (42 loc) · 986 Bytes
/
docker-compose.yml
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
36
37
38
39
40
41
42
version: "2.1"
services:
db:
image: openbuildservice/mariadb
ports:
- "3306:3306"
cache:
image: openbuildservice/memcached
ports:
- "11211:11211"
backend:
image: openbuildservice/backend
volumes:
- .:/obs
- ./dist/aws_credentials:/etc/obs/cloudupload/.aws/config
- ./dist/ec2utils.conf:/etc/obs/cloudupload/.ec2utils.conf
- ./dist/clouduploader.rb:/usr/bin/clouduploader
command: /obs/contrib/start_development_backend -d /obs
worker:
image: openbuildservice/backend
volumes:
- .:/obs
privileged: true
depends_on:
- backend
command: /obs/contrib/start_development_worker
frontend:
image: openbuildservice/frontend
command: foreman start -p 3000
build:
dockerfile: docker-files/Dockerfile
context: src/api
volumes:
- .:/obs
ports:
- "3000:3000"
- "1080:1080"
depends_on:
- db
- cache
- backend
- worker