Update gluetun-docker-compose.yaml

updated to work with main changes
This commit is contained in:
bigsk1 2024-10-19 18:35:59 -07:00 committed by GitHub
parent be3bb569dc
commit 6fe81f6ceb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: