mirror of
https://github.com/wardviaene/kubernetes-course.git
synced 2026-07-10 22:29:16 +00:00
Update wordpress cmd to fix uploads permissions and apache cmd
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user