Merge pull request #1 from ADeane6/master

Update wordpress cmd to fix uploads permissions and apache cmd
This commit is contained in:
Edward Viaene
2017-10-13 23:09:09 +02:00
committed by GitHub

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