From d6087f172b5ca1274f704131cb003fe5f59a2b4c Mon Sep 17 00:00:00 2001 From: Edward Viaene Date: Thu, 2 Aug 2018 06:54:08 +0000 Subject: [PATCH] command update --- wordpress-volumes/wordpress-web.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordpress-volumes/wordpress-web.yml b/wordpress-volumes/wordpress-web.yml index e0fd6a2..ab5452a 100644 --- a/wordpress-volumes/wordpress-web.yml +++ b/wordpress-volumes/wordpress-web.yml @@ -13,7 +13,7 @@ spec: - name: wordpress image: wordpress:4-php7.0 # uncomment to fix perm issue, see also https://github.com/kubernetes/kubernetes/issues/2630 - # command: ['bash', '-c', 'chown www-data:www-data /var/www/html/wp-content/uploads && apache2-foreground'] + # command: ['bash', '-c', 'mkdir -p /var/www/html/wp-content/uploads; chown www-data:www-data /var/www/html/wp-content/uploads && docker-entrypoint.sh apache2-foreground'] ports: - name: http-port containerPort: 80