-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdeploy.yaml
50 lines (47 loc) · 1014 Bytes
/
deploy.yaml
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
version: 1
service: places
username: places
scripts:
build_inside_vm: docker compose -f /home/$USERNAME/docker-compose.yml build --pull
start_once: docker compose -f /home/$USERNAME/docker-compose.yml up -d
files:
- source: wwwroot
destination: /home/$USERNAME/
- sources:
- crypt.go
- main.go
- keys.go
- place.go
- go.mod
- go.sum
- Dockerfile
- docker-compose.yml
- start.sh
destination: /home/$USERNAME/
proxies:
- name: main
listener:
protocol: http
certificate: wildcard.ctf.hitb.org
upstream:
host_index: 5
port: 80
limits:
- source: team
location: /
limit: 200r/m
burst: 100
- source: team
location: /api/put
limit: 8r/m
burst: 8
- source: team
location: /api/list
limit: 5r/m
burst: 5
- source: team
location: /api/route
limit: 8r/m
burst: 8
dns_records:
- places