Update gluetun-docker-compose.yaml
updated to work with main changes
This commit is contained in:
parent
be3bb569dc
commit
6fe81f6ceb
1 changed files with 17 additions and 11 deletions
|
@ -7,19 +7,19 @@ services:
|
||||||
devices:
|
devices:
|
||||||
- /dev/net/tun:/dev/net/tun
|
- /dev/net/tun:/dev/net/tun
|
||||||
volumes:
|
volumes:
|
||||||
- /home/user/Perplexica/gluetun:/gluetun # in gluetun folder have servers.json
|
- /home/Perplexica/gluetun:/gluetun
|
||||||
environment:
|
environment:
|
||||||
- VPN_SERVICE_PROVIDER=vpnprovidername
|
- VPN_SERVICE_PROVIDER=protonvpn
|
||||||
- OPENVPN_USER=
|
- OPENVPN_USER=Cvvvvvvvvvvvvv
|
||||||
- OPENVPN_PASSWORD=
|
- OPENVPN_PASSWORD=Jcccccccccccccc
|
||||||
- SERVER_COUNTRIES=United States
|
- SERVER_COUNTRIES=United States
|
||||||
- SERVER_HOSTNAMES=
|
- SERVER_HOSTNAMES=node-us-CUSTOMIZE
|
||||||
- TZ=America/Phoenix
|
- TZ=America/Los_Angels
|
||||||
- BLOCK_MALICIOUS=on
|
- BLOCK_MALICIOUS=on
|
||||||
- BLOCK_SURVEILLANCE=on
|
- BLOCK_SURVEILLANCE=on
|
||||||
- BLOCK_ADS=on
|
- BLOCK_ADS=on
|
||||||
- DOT=on
|
- DOT=on
|
||||||
- FIREWALL_OUTBOUND_SUBNETS=192.168.1.0/24
|
- FIREWALL_OUTBOUND_SUBNETS=CUSTOMIZE
|
||||||
networks:
|
networks:
|
||||||
- perplexica-network
|
- perplexica-network
|
||||||
ports:
|
ports:
|
||||||
|
@ -41,8 +41,10 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: backend.dockerfile
|
dockerfile: backend.dockerfile
|
||||||
args:
|
image: itzcrazykns1337/perplexica-backend:main
|
||||||
- SEARXNG_API_URL=http://localhost:8080 # localhost is important as it's in gluetun's network for DNS
|
volumes:
|
||||||
|
- backend-dbstore:/home/perplexica/data
|
||||||
|
- ./config.toml:/home/perplexica/config.toml
|
||||||
depends_on:
|
depends_on:
|
||||||
- gluetun
|
- gluetun
|
||||||
- searxng
|
- searxng
|
||||||
|
@ -54,8 +56,9 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: app.dockerfile
|
dockerfile: app.dockerfile
|
||||||
args:
|
args:
|
||||||
- NEXT_PUBLIC_API_URL=http://localhost:3001/api # if running on server and accessing from another machine add host ip of server, 192.168.x.x
|
- NEXT_PUBLIC_API_URL=http://192.168.70.54:3001/api
|
||||||
- NEXT_PUBLIC_WS_URL=ws://localhost:3001 # # if running on server and accessing from another machine add host ip of server
|
- NEXT_PUBLIC_WS_URL=ws://192.168.70.54:3001
|
||||||
|
image: itzcrazykns1337/perplexica-frontend:main
|
||||||
depends_on:
|
depends_on:
|
||||||
- gluetun
|
- gluetun
|
||||||
- perplexica-backend
|
- perplexica-backend
|
||||||
|
@ -64,3 +67,6 @@ services:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
perplexica-network:
|
perplexica-network:
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
backend-dbstore:
|
||||||
|
|
Loading…
Add table
Reference in a new issue