File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,10 +6,13 @@ services:
66 restart : unless-stopped
77 networks :
88 - coolify
9+ extra_hosts :
10+ - " redis-database-tgkw0gwc0w448wc404s40044:10.0.1.7"
911 environment :
1012 RAILS_ENV : production
1113 DATABASE_URL : ${DATABASE_URL}
12- REDIS_URL : ${REDIS_URL}
14+ # Sobrescreve o REDIS_URL com o hostname correto do Coolify
15+ REDIS_URL : redis://default:${REDIS_PASSWORD:-}@redis-database-tgkw0gwc0w448wc404s40044:6379/0
1316 ELASTICSEARCH_URL : ${ELASTICSEARCH_URL:-http://elastic:9200}
1417 RAILS_LOG_TO_STDOUT : " true"
1518 PORT : 3000
@@ -35,10 +38,13 @@ services:
3538 restart : unless-stopped
3639 networks :
3740 - coolify
41+ extra_hosts :
42+ - " redis-database-tgkw0gwc0w448wc404s40044:10.0.1.7"
3843 environment :
3944 RAILS_ENV : production
4045 DATABASE_URL : ${DATABASE_URL}
41- REDIS_URL : ${REDIS_URL}
46+ # Sobrescreve o REDIS_URL com o hostname correto do Coolify
47+ REDIS_URL : redis://default:${REDIS_PASSWORD:-}@redis-database-tgkw0gwc0w448wc404s40044:6379/0
4248 ELASTICSEARCH_URL : ${ELASTICSEARCH_URL:-http://elastic:9200}
4349 RAILS_MASTER_KEY : ${RAILS_MASTER_KEY}
4450 RIOT_API_KEY : ${RIOT_API_KEY}
You can’t perform that action at this time.
0 commit comments