File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ services:
112112 RAILS_ENV : production
113113 WEB_CONCURRENCY : ' 4'
114114 RAILS_MAX_THREADS : ' 5'
115- DATABASE_URL : ' ${DATABASE_URL }'
115+ DATABASE_URL : ' postgresql://${POSTGRES_USER:-prostaff}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB:-prostaff_production }'
116116 # Connect to Redis via Docker network hostname
117117 REDIS_URL : ' redis://default:${REDIS_PASSWORD}@redis:6379/0'
118118 ELASTICSEARCH_URL : ' ${ELASTICSEARCH_URL:-http://elastic:9200}'
@@ -157,7 +157,7 @@ services:
157157 - coolify
158158 environment :
159159 RAILS_ENV : production
160- DATABASE_URL : ' ${DATABASE_URL }'
160+ DATABASE_URL : ' postgresql://${POSTGRES_USER:-prostaff}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB:-prostaff_production }'
161161 REDIS_URL : ' redis://default:${REDIS_PASSWORD}@redis:6379/0'
162162 ELASTICSEARCH_URL : ' ${ELASTICSEARCH_URL:-http://elastic:9200}'
163163 RAILS_MASTER_KEY : ' ${RAILS_MASTER_KEY}'
You can’t perform that action at this time.
0 commit comments