-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcloud-init.yml.example
38 lines (35 loc) · 1.07 KB
/
cloud-init.yml.example
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
#cloud-config
package_update: true
package_upgrade: true
# public keys | ssh_authorized_keys:
ssh_import_id:
- gh:{{ github_username }}
# ssh_keys:
# rsa_private: |
# @see env.example
write_files:
- path: /root/.env
content: |
PHP_VERSION=7.3
PROJECT_CODE=kyeol-composer
PROJECT_ROOT=/var/www/kyeol-composer
MYSQL_VERSION=5.7
runcmd:
- curl -sSL https://l.mozo.kr/up/bootstrap | bash
# LANG
- curl -sSL https://l.mozo.kr/up/php | bash
- curl -sSL https://l.mozo.kr/up/node | bash
- curl -sSL https://l.mozo.kr/up/ruby | bash
- curl -sSL https://l.mozo.kr/up/go | bash
# DB
- curl -sSL https://l.mozo.kr/up/mariadb | bash
- curl -sSL https://l.mozo.kr/up/mysql | bash
- curl -sSL https://l.mozo.kr/up/postgres | bash
# APP
- curl -sSL https://l.mozo.kr/up/drupal | bash
- curl -sSL https://l.mozo.kr/up/hugo | bash
- curl -sSL https://l.mozo.kr/up/rails | bash
- curl -sSL https://l.mozo.kr/up/rclone | bash
- curl -sSL https://l.mozo.kr/up/gh-fetch > /usr/local/bin/gh-fetch
- chmod +x /usr/local/bin/gh-fetch
final_message: "The system is finally up, after $UPTIME seconds"