forked from UffizziCloud/example-voting-worker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuffizzi-compose-gcr.yml
42 lines (35 loc) · 943 Bytes
/
uffizzi-compose-gcr.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
services:
redis:
image: redis:latest
postgres:
image: postgres:9.6
environment:
POSTGRES_USER: ${VOTE_APP_POSTGRES.USER}
POSTGRES_PASSWORD: ${VOTE_APP_POSTGRES.PASSWORD}
nginx:
image: nginx:latest
configs:
- source: vote.conf
target: /etc/nginx/conf.d
worker:
build:
context: https://github.com/gadkins/example-voting-worker:main
dockerfile: Dockerfile
deploy:
resources:
limits:
memory: 250M
vote:
image: gcr.io/uffizzi-pro-qa-gke/example-vote:latest
result:
image: gcr.io/uffizzi-pro-qa-gke/example-result:latest
ingress:
service: nginx
port: 8080
continuous_preview:
deploy_preview_when_pull_request_is_opened: true
delete_preview_when_pull_request_is_closed: true
delete_preview_after: 10h
share_to_github: true
deploy_preview_when_image_tag_is_created: true
delete_preview_when_image_tag_is_updated: true