-
Notifications
You must be signed in to change notification settings - Fork 6
/
config_sample.yml
50 lines (45 loc) · 1.55 KB
/
config_sample.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
host:
# web api host
# you can use API and Web interface through this host
# webapi: docker.dev.example.net
webapi: localhost
listen:
# listen address
# default is only listen from localhost
foreign_address: 127.0.0.1
# listen port and reverse proxy port
http:
# listen 8080 and transport to container's 5000 port
- listen: 8080
target: 5000
htmldir: ./html
parameters:
- name: branch
env: GIT_BRANCH
rule: ""
required: true
# add your custom parameters here!
# name is parameter name (passed by HTTP parameter)
# env is environment variable for docker container
# rule is constraint of value using regexp.
# required means required or optional parameter (boolean value)
ecs:
region: ap-northeast-1
cluster: mirage
launch_type: FARGATE
network_configuration:
awsvpc_configuration:
subnets:
- '{{ env "SUBNET_A" "subnet-aaaaaa" }}'
- '{{ env "SUBNET_B" "subnet-bbbbbb" }}'
security_groups:
- '{{ env "SECURITY_GROUP_1" "sg-111111" }}'
assign_public_ip: ENABLED
default_task_definition: '{{ env "DEFAULT_TASKDEF" "arn:aws:ecs:ap-northeast-1:123456789012:task-definition/myapp" }}'
# # enable link feature
# link:
# hosted_zone_id: '{{ env "LINK_ZONE_ID" "Z00000000000000000000" }}'
# # overwrite ecs.default_task_definition
# default_task_definitions:
# - '{{ env "DEFAULT_TASKDEF" "arn:aws:ecs:ap-northeast-1:123456789012:task-definition/myapp" }}'
# - '{{ env "DEFAULT_TASKDEF_LINK" "arn:aws:ecs:ap-northeast-1:123456789012:task-definition/myapp-link" }}'