Skip to content

Commit 0e5be7a

Browse files
committed
Make Docker pull operate quietly
So that Terraform output is less verbose.
1 parent fb136c4 commit 0e5be7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deployments/modules/backend/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ resource "digitalocean_droplet" "web" {
3535
provisioner "remote-exec" {
3636
inline = [
3737
"set -eux",
38-
"docker pull rapidlua/luajit.me:${var.app_version}",
38+
"docker pull -q rapidlua/luajit.me:${var.app_version}",
3939
"docker run --detach --restart=unless-stopped --init --publish=127.0.0.1:8000:8000 -e GA_MEASUREMENT_ID=UA-143778823-2 rapidlua/luajit.me:${var.app_version}",
4040
"mkdir -p /data/nginx/cache",
4141
"chown www-data: /data/nginx/cache",
@@ -70,7 +70,7 @@ resource "digitalocean_droplet" "compute_amd64" {
7070
provisioner "remote-exec" {
7171
inline = [
7272
"set -eux",
73-
"docker pull rapidlua/luajit.me:${var.app_version}",
73+
"docker pull -q rapidlua/luajit.me:${var.app_version}",
7474
"docker run --detach --restart=unless-stopped --init --publish=${self.ipv4_address_private}:80:8000 --security-opt seccomp=unconfined --security-opt apparmor:unconfined rapidlua/luajit.me:${var.app_version}"
7575
]
7676
}

0 commit comments

Comments
 (0)