-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappspec.yml
More file actions
30 lines (30 loc) · 855 Bytes
/
appspec.yml
File metadata and controls
30 lines (30 loc) · 855 Bytes
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
version: 0.0
os: linux
files:
- source: /
destination: /tmp/mbis_front
file_exists_behavior: OVERWRITE
hooks:
ApplicationStop:
- location: script/code-deploy/ApplicationStop/stop_server.sh
timeout: 300
#BeforeInstall:
# - location: mbis_front/current/script/backup.sh
# timeout: 300
AfterInstall:
- location: script/code-deploy/AfterInstall/install_dependencies.sh
timeout: 1800
# - location: mbis_front/current/script/migrate_database.sh
# timeout: 300
# runas: mbis_app
ApplicationStart:
- location: script/code-deploy/ApplicationStart/start_server.sh
timeout: 300
runas: mbis_app
# AfterBlockTraffic
# BeforeAllowTraffic
# AfterAllowTraffic
# ValidateService:
# - location: Scripts/MonitorService.sh
# timeout: 3600
# runas: codedeployuser