Update wordpress cmd to fix uploads permissions and apache cmd

This commit is contained in:
Ashley Deane
2017-10-12 16:17:39 +01:00
parent 5fc97cd1e4
commit c1937f7409

View File

@@ -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/upload', '&&', 'apache2', '-DFOREGROUND']
# command: ['bash', '-c', 'chown www-data:www-data /var/www/html/wp-content/uploads && apache2-foreground']
ports:
- name: http-port
containerPort: 80