-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathuffizzi-compose.yml
56 lines (48 loc) · 1.08 KB
/
uffizzi-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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
services:
nginx:
image: nginx:latest
configs:
- source: vote-conf
target: /etc/nginx/conf.d/vote.conf
redis:
image: redis:latest
postgres:
image: postgres:9.6
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
worker:
build:
context: https://github.com/UffizziCloud/example-voting-worker
dockerfile: Dockerfile
deploy:
resources:
limits:
memory: 250M
vote:
build:
context: https://github.com/UffizziCloud/example-voting-vote
dockerfile: Dockerfile
environment:
PORT: 8888
deploy:
resources:
limits:
memory: 250M
result:
build:
context: https://github.com/UffizziCloud/example-voting-result
dockerfile: Dockerfile
environment:
PORT: 8088
configs:
vote-conf:
file: ./vote.conf
continuous_preview:
deploy_preview_when_pull_request_is_opened: true
delete_preview_when_pull_request_is_closed: true
share_to_github: true
delete_preview_after: 1h
ingress:
service: nginx
port: 8080