New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wiki.js behind corporate web proxy #1190
Comments
Proxy is not supported yet. You can follow this feature request: |
I figured out a work around for this: You have to:
Here is an example: FROM requarks/wiki:2
USER root
ADD ./libproxychains4.so /lib/
RUN echo -e 'localnet 192.168.0.0/255.255.0.0\n\
[ProxyList]\n\
http <YOUR PROXY> <PROXY PORT>\n'\
> /etc/proxychains.conf
USER node docker-compose.yaml version: "3"
services:
db:
image: postgres:11-alpine
environment:
POSTGRES_DB: wiki
POSTGRES_PASSWORD: wikijsrocks
POSTGRES_USER: wikijs
restart: unless-stopped
volumes:
- /data/wikijs/postgresql/data:/var/lib/postgresql/data
wiki:
image: wikijs-proxychains:1
depends_on:
- db
environment:
DB_TYPE: postgres
DB_HOST: db
DB_PORT: 5432
DB_USER: wikijs
DB_PASS: wikijsrocks
DB_NAME: wiki
LD_PRELOAD: /lib/libproxychains4.so
restart: unless-stopped
ports:
- "80:3000"
|
was you completed ? |
@SharkProgramming, @rockmenjack and @songhanpoo |
Hello, I need to use this option since I'm using Azure AI Serarch and it needs to connect to the exterior, but I cant get it to work with proxychains, can you give som clearer instructions? Thanks in advance. |
Question
I have to install wiki.js behind a corporate web proxy server ,but node.js doesn't want to use the environnement variable defined for http_proxy .
Is there a possibility to install package like Axios or other solution in order to have internet access througth this proxy ?
Host Info:
The text was updated successfully, but these errors were encountered: