Kubernetes equivalent of env-file in Docker

You can populate a container’s environment variables through the use of Secrets or ConfigMaps. Use Secrets when the data you are working with is sensitive (e.g. passwords), and ConfigMaps when it is not. In your Pod definition specify that the container should pull values from a Secret: apiVersion: v1 kind: Pod metadata: labels: context: docker-k8s-lab … Read more

How can I change the language (to english) in Oracle SQL Developer?

Try to set user.language and user.country properties in sqldeveloper.conf file located in sqldeveloper\bin folder (%APPDATA%\sqldeveloper\<version>\product.conf for more recent versions) . Sample for set french language: IncludeConfFile ../../ide/bin/ide.conf SetJavaHome D:\jdk1.6.0_25 AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true AddVMOption -Dsun.java2d.ddoffscreen=false AddVMOption -Dwindows.shell.font.languages= AddVMOption -Duser.language=fr AddVMOption -Duser.country=FR AddVMOption -XX:MaxPermSize=128M AddVMOption -Doracle.jdbc.mapDateToTimestamp=false IncludeConfFile sqldeveloper-nondebug.conf To switch off language try to remove its support by … Read more

How do I prevent a Gateway Timeout with FastCGI on Nginx

Proxy timeouts are well, for proxies, not for FastCGI… The directives that affect FastCGI timeouts are client_header_timeout, client_body_timeout and send_timeout. Edit: Considering what’s found on nginx wiki, the send_timeout directive is responsible for setting general timeout of response (which was bit misleading). For FastCGI there’s fastcgi_read_timeout which is affecting the FastCGI process response timeout.

How to change Vagrant ‘default’ machine name?

I found the multiple options confusing, so I decided to test all of them to see exactly what they do. I’m using VirtualBox 4.2.16-r86992 and Vagrant 1.3.3. I created a directory called nametest and ran vagrant init precise64 http://files.vagrantup.com/precise64.box to generate a default Vagrantfile. Then I opened the VirtualBox GUI so I could see what … Read more

Nginx 403 error: directory index of [folder] is forbidden

If you have directory indexing off, and is having this problem, it’s probably because the try_files you are using has a directory option: location / { try_files $uri $uri/ /index.html index.php; } ^ that is the issue Remove it and it should work: location / { try_files $uri /index.html index.php; } Why this happens TL;DR: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)