-
Notifications
You must be signed in to change notification settings - Fork 4
/
deploy.yaml
49 lines (46 loc) · 1010 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
version: 1
service: lockstone
username: lockstone
scripts:
build_inside_vm: |
docker compose -f /home/lockstone/docker-compose.yaml build --pull
start_once: |
docker compose -f /home/lockstone/docker-compose.yaml up -d
files:
- sources:
- ./admin
- ./keystone
- ./migrations
- ./nginx
- ./.dockerignore
- ./Dockerfile
- ./docker-compose.yaml
- ./keystone.ts
- ./package-lock.json
- ./package.json
- ./schema.graphql
- ./schema.prisma
- ./start.sh
- ./tsconfig.json
- ./keystone.db
destination: /home/lockstone
proxies:
- name: main
listener:
protocol: http
certificate: wildcard.ctf.hitb.org
upstream:
host_index: 6
protocol: https
port: 443
limits:
- source: team
location: /api/
limit: 60r/m
burst: 50
- source: team
location: /
limit: 300r/m
burst: 100
dns_records:
- lockstone