-
Notifications
You must be signed in to change notification settings - Fork 27
/
uffizzi-compose-example.yml
50 lines (43 loc) · 1.11 KB
/
uffizzi-compose-example.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
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/UffizziCloud/example-voting-worker:main
dockerfile: Dockerfile
deploy:
resources:
limits:
memory: 250M
vote:
build:
context: https://github.com/UffizziCloud/example-voting-vote:main
dockerfile: Dockerfile
deploy:
resources:
limits:
memory: 250M
result:
build:
context: https://github.com/UffizziCloud/example-voting-result:main
dockerfile: Dockerfile
continuous_preview:
deploy_preview_when_pull_request_is_opened: false
delete_preview_when_pull_request_is_closed: false
deploy_preview_for_image_tag_PR_#-branchname: true
delete_preview_when_pull_request_is_closed: false
delete_preview_in_x_hours: 24
share_to_github: true
ingress:
service: nginx
port: 8080