Comments (4)
Hello @xn3cr0nx,
The default value of DNS_RESOLVERS
is now 127.0.0.11. Feel free to open a new issue if needed.
from bunkerweb.
Hello @xn3cr0nx, can you try setting the DNS_RESOLVERS
environment variable to 127.0.0.11 and tell me if that changes anything please ?
from bunkerweb.
Can you share your docker-compose.yml file or commands so we can investigate on this bug ?
from bunkerweb.
thanks @bunkerity, it feels like DNS_RESOLVERS
could have fixed it, I am not getting 502 anymore, but I need to monitor its behavior.
In the following I paste the current docker-compose file (removing secrets and not interesting services like postgres and redis). here you can find the original file, but I edited it as follows due to staging testing.
version: '3.7'
x-env: &env production
x-decidim: &decidim 0.23.1
x-ruby: &ruby
RUBY_VERSION: 2.6.6
x-network: &network
networks:
decidim:
services:
decidim:
container_name: decidim
hostname: decidim-host
image: *pg-db
build:
context: .
dockerfile: Dockerfile
volumes:
- decidim-gems:/usr/local/bundle:delegated
- decidim-uploads://home/decidim/azione-decidim/public/uploads
- decidim-config:/home/decidim/azione-decidim/config
environment:
PORT: 3000
DATABASE_HOST: pg
DATABASE_USERNAME: *pg-user
DATABASE_NAME: *pg-db
RAILS_ENV: *env
REDIS_URL: redis://redis:6379
DATABASE_URL: postgres://postgres@pg:5432/azione-decidim_production
RAILS_SERVE_STATIC_FILES: "true"
SECRETKEY: secret
SECRET_KEY_BASE: secret
DECIDIM_VERSION: *decidim
# RAILS_LOG_TO_STDOUT: true
<<: [*ruby, *admin, *org, *smtp]
depends_on:
- pg
- redis
- nginx
links:
- pg
- redis
<<: *network
nginx:
image: bunkerity/bunkerized-nginx
container_name: nginx
restart: always
ports:
- 80:8080
- 443:8443
environment:
AUTO_LETS_ENCRYPT: "yes"
REDIRECT_HTTP_TO_HTTPS: "yes"
SERVER_NAME: lombardia.amicidiazione.it milano.amicidiazione.it staging.amicidiazione.it
MULTISITE: "yes"
DISABLE_DEFAULT_SERVER: "yes"
ALLOWED_METHODS: "GET|POST|HEAD|OPTIONS|PUT|DELETE"
WRITE_ACCESS: "yes"
REFERRER_POLICY: "origin"
USE_CLAMAV_UPLOAD: "no"
USE_CLAMAV_SCAN: "no"
CLAMAV_SCAN_REMOVE: "no"
ADDITIONAL_MODULES: "ruby"
USE_MODSECURITY_CRS: "no"
USE_MODSECURITY: "no"
DNS_RESOLVERS: "127.0.0.11"
volumes:
- nginx-letsencrypt:/etc/letsencrypt
- ./server-confs:/server-confs
- ./http-confs:/http-confs
<<: *network
volumes:
pg:
redis:
decidim-gems:
decidim-config:
decidim-uploads:
nginx-letsencrypt:
networks:
decidim:
from bunkerweb.
Related Issues (20)
- [BUG] configs - cannot add multiple file on the same service_id HOT 3
- [BUG] K8S - Controller throws exception on reading ingress event in Managed K8S HOT 2
- [BUG] WebSocket Configuration - AutoConf HOT 2
- [BUG] upgrade 1.5.5 -> 1.5.6 SQL Errors HOT 10
- [BUG] Infinite page loading when using Chrome browser in developer mode HOT 4
- [BUG] exception while running mmdb-country.py HOT 3
- [BUG] changes are not saved HOT 7
- 1.5.6 virustotal plugin error HOT 1
- [license] is it ok to redistribute the maxmind mmdb files? HOT 2
- [FEATURE] Ability to export and import config via the Web UI
- [BUG] REVERSE_PROXY_WS not working in KUBERNETES_MODE HOT 6
- [BUG] Web UI unavailable after fresh install, Ubuntu 24.04, Linux Integration HOT 9
- How to use bunker with services in different hosts without weakening security HOT 7
- [BUG] 500 error when accessing Web Bans page HOT 4
- [HELP] Custom certificates producing exceptions HOT 3
- [BUG] I'm testing this in a new instance and seems like lets encrypt does not work? HOT 1
- [DOC] nextcloud examples are out of date (compose)
- [FEATURE] Is there a way to deploy 2 services as reverse proxy where leaving a one without any protections and just bypassing everything HOT 4
- [BUG] whitelist bypass not effective HOT 7
- [FEATURE] K8S - Ability to ignore/use Ingresses based on IngressClass HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bunkerweb.