mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Fix some issues and clean up compose files
This commit is contained in:
parent
e8e4417f2d
commit
1ed01a0c0b
5 changed files with 1 additions and 36 deletions
|
|
@ -25,15 +25,6 @@ services:
|
||||||
DATABASE_USERNAME: postgres
|
DATABASE_USERNAME: postgres
|
||||||
DATABASE_PASSWORD: password
|
DATABASE_PASSWORD: password
|
||||||
DATABASE_NAME: dawarich_development
|
DATABASE_NAME: dawarich_development
|
||||||
# PostgreSQL database name for solid_queue
|
|
||||||
QUEUE_DATABASE_HOST: dawarich_db
|
|
||||||
QUEUE_DATABASE_USERNAME: postgres
|
|
||||||
QUEUE_DATABASE_PASSWORD: password
|
|
||||||
QUEUE_DATABASE_PORT: 5432
|
|
||||||
QUEUE_DATABASE_NAME: dawarich_development_queue
|
|
||||||
# SQLite database paths for cache and cable databases
|
|
||||||
CACHE_DATABASE_PATH: /dawarich_sqlite_data/dawarich_development_cache.sqlite3
|
|
||||||
CABLE_DATABASE_PATH: /dawarich_sqlite_data/dawarich_development_cable.sqlite3
|
|
||||||
MIN_MINUTES_SPENT_IN_CITY: 60
|
MIN_MINUTES_SPENT_IN_CITY: 60
|
||||||
APPLICATION_HOSTS: localhost
|
APPLICATION_HOSTS: localhost
|
||||||
TIME_ZONE: Europe/London
|
TIME_ZONE: Europe/London
|
||||||
|
|
|
||||||
|
|
@ -67,14 +67,6 @@ Rails.application.configure do
|
||||||
# Highlight code that enqueued background job in logs.
|
# Highlight code that enqueued background job in logs.
|
||||||
config.active_job.verbose_enqueue_logs = true
|
config.active_job.verbose_enqueue_logs = true
|
||||||
|
|
||||||
config.active_job.queue_adapter = :solid_queue
|
|
||||||
config.solid_queue.silence_polling = true
|
|
||||||
# :queue is the name of the database connection
|
|
||||||
config.solid_queue.connects_to = { database: { writing: :queue } }
|
|
||||||
|
|
||||||
config.mission_control.jobs.http_basic_auth_enabled = false
|
|
||||||
config.solid_queue.logger = ActiveSupport::Logger.new($stdout)
|
|
||||||
|
|
||||||
# Suppress logger output for asset requests.
|
# Suppress logger output for asset requests.
|
||||||
config.assets.quiet = true
|
config.assets.quiet = true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ settings = {
|
||||||
debug_mode: true,
|
debug_mode: true,
|
||||||
timeout: 5,
|
timeout: 5,
|
||||||
units: :km,
|
units: :km,
|
||||||
cache: cache: Redis.new,
|
cache: Redis.new,
|
||||||
always_raise: :all,
|
always_raise: :all,
|
||||||
http_headers: {
|
http_headers: {
|
||||||
'User-Agent' => "Dawarich #{APP_VERSION} (https://dawarich.app)"
|
'User-Agent' => "Dawarich #{APP_VERSION} (https://dawarich.app)"
|
||||||
|
|
|
||||||
|
|
@ -62,15 +62,6 @@ services:
|
||||||
DATABASE_USERNAME: postgres
|
DATABASE_USERNAME: postgres
|
||||||
DATABASE_PASSWORD: password
|
DATABASE_PASSWORD: password
|
||||||
DATABASE_NAME: dawarich_production
|
DATABASE_NAME: dawarich_production
|
||||||
# PostgreSQL database name for solid_queue
|
|
||||||
QUEUE_DATABASE_NAME: dawarich_production_queue
|
|
||||||
QUEUE_DATABASE_PASSWORD: password
|
|
||||||
QUEUE_DATABASE_USERNAME: postgres
|
|
||||||
QUEUE_DATABASE_HOST: dawarich_db
|
|
||||||
QUEUE_DATABASE_PORT: 5432
|
|
||||||
# SQLite database paths for cache and cable databases
|
|
||||||
CACHE_DATABASE_PATH: /dawarich_sqlite_data/dawarich_production_cache.sqlite3
|
|
||||||
CABLE_DATABASE_PATH: /dawarich_sqlite_data/dawarich_production_cable.sqlite3
|
|
||||||
MIN_MINUTES_SPENT_IN_CITY: 60
|
MIN_MINUTES_SPENT_IN_CITY: 60
|
||||||
APPLICATION_HOSTS: localhost,::1,127.0.0.1
|
APPLICATION_HOSTS: localhost,::1,127.0.0.1
|
||||||
TIME_ZONE: Europe/London
|
TIME_ZONE: Europe/London
|
||||||
|
|
|
||||||
|
|
@ -64,15 +64,6 @@ services:
|
||||||
DATABASE_USERNAME: postgres
|
DATABASE_USERNAME: postgres
|
||||||
DATABASE_PASSWORD: password
|
DATABASE_PASSWORD: password
|
||||||
DATABASE_NAME: dawarich_development
|
DATABASE_NAME: dawarich_development
|
||||||
# PostgreSQL database name for solid_queue
|
|
||||||
QUEUE_DATABASE_NAME: dawarich_development_queue
|
|
||||||
QUEUE_DATABASE_PASSWORD: password
|
|
||||||
QUEUE_DATABASE_USERNAME: postgres
|
|
||||||
QUEUE_DATABASE_HOST: dawarich_db
|
|
||||||
QUEUE_DATABASE_PORT: 5432
|
|
||||||
# SQLite database paths for cache and cable databases
|
|
||||||
CACHE_DATABASE_PATH: /dawarich_sqlite_data/dawarich_development_cache.sqlite3
|
|
||||||
CABLE_DATABASE_PATH: /dawarich_sqlite_data/dawarich_development_cable.sqlite3
|
|
||||||
MIN_MINUTES_SPENT_IN_CITY: 60
|
MIN_MINUTES_SPENT_IN_CITY: 60
|
||||||
APPLICATION_HOSTS: localhost
|
APPLICATION_HOSTS: localhost
|
||||||
TIME_ZONE: Europe/London
|
TIME_ZONE: Europe/London
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue