-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappspec.yml
36 lines (34 loc) · 923 Bytes
/
appspec.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
version: 0.0
os: linux
files:
- source: build/libs/backend-0.0.1-SNAPSHOT.jar
destination: /home/ec2-user/backend
overwrite: yes
- source: appspec.yml
destination: /home/ec2-user/backend/
overwrite: yes
- source: scripts
destination: /home/ec2-user/backend/
overwrite: yes
- source: src/main/resources/logback.xml
destination: /home/ec2-user/backend/
overwrite: yes
- source: src/main/resources/info-appender.xml
destination: /home/ec2-user/backend/
overwrite: yes
- source: src/main/resources/error-appender.xml
destination: /home/ec2-user/backend/
overwrite: yes
- source: src/main/resources/warn-appender.xml
destination: /home/ec2-user/backend/
overwrite: yes
permissions:
- object: /
pattern: "**"
owner: ec2-user
group: ec2-user
hooks:
ApplicationStart:
- location: scripts/deploy.sh
timeout: 240
runas: ec2-user