Browse Source

more provisioning

master
Vladimir Smagin 3 months ago
parent
commit
5773c8a860
2 changed files with 11 additions and 2 deletions
  1. +10
    -1
      hetzner.json
  2. +1
    -1
      ubuntu_deps.sh

+ 10
- 1
hetzner.json View File

@@ -1,8 +1,11 @@
{
"variables": {
"hcloud_token": "my_hetzner_token"
},
"builders": [
{
"type": "hcloud",
"token": "Swn8RxLJXZuKI8aeiIjs1e6bMitQZYAgLXpQoo0vkr5euYvqhI6FiTnvBdoDJ0FC",
"token": "{{user `hcloud_token`}}",
"image": "ubuntu-18.04",
"location": "nbg1",
"server_type": "cx11",
@@ -26,6 +29,12 @@
{
"type": "shell",
"script": "ubuntu_deps.sh"
},
{
"type": "shell",
"inline": [
"sudo apt-get install -y php-mysql php-pgsql mysql-server postgresql-10"
]
}
]
}

+ 1
- 1
ubuntu_deps.sh View File

@@ -3,4 +3,4 @@
export DEBIAN_FRONTEND noninteractive

apt update
apt install -y nginx php-fpm php-mysql php-pgsql php-mbstring php-curl php-gd php-apcu
apt install -y nginx php-fpm php-mbstring php-curl php-gd php-apcu

Loading…
Cancel
Save