feat: geolocate anonymous widget visitors
Build and publish Docker images / Build and publish images (push) Successful in 2m10s
Build and publish Docker images / Build and publish images (push) Successful in 2m10s
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# GoChat Development Environment
|
||||
# Reference: Chatwoot docker-compose.yaml pattern — rails + sidekiq + postgres + redis + mailhog + vite
|
||||
# Enhanced with pgvector (for Captain AI vector search), volume mounts, hot reload
|
||||
# Reference: Chatwoot docker-compose.yaml pattern — Rails, Sidekiq,
|
||||
# PostgreSQL, Redis, Mailhog, and Vite.
|
||||
# Enhanced with pgvector for Captain AI vector search, volume mounts,
|
||||
# and hot reload.
|
||||
|
||||
version: '3.8'
|
||||
|
||||
@@ -29,7 +31,9 @@ services:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
command: redis-server --appendonly yes --maxmemory 256mb --maxmemory-policy allkeys-lru
|
||||
command: >-
|
||||
redis-server --appendonly yes --maxmemory 256mb
|
||||
--maxmemory-policy allkeys-lru
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 5s
|
||||
@@ -63,6 +67,7 @@ services:
|
||||
- GOCHAT_ENV=development
|
||||
- GOCHAT_DATABASE_DSN=postgres://postgres:postgres@postgres:5432/gochat_dev?sslmode=disable
|
||||
- GOCHAT_REDIS_DSN=redis://redis:6379
|
||||
- GOCHAT_GEOIP_DB_PATH=${GOCHAT_GEOIP_DB_PATH:-}
|
||||
- SMTP_HOST=mailhog
|
||||
- SMTP_PORT=1025
|
||||
|
||||
@@ -85,6 +90,7 @@ services:
|
||||
- GOCHAT_ENV=development
|
||||
- GOCHAT_DATABASE_DSN=postgres://postgres:postgres@postgres:5432/gochat_dev?sslmode=disable
|
||||
- GOCHAT_REDIS_DSN=redis://redis:6379
|
||||
- GOCHAT_GEOIP_DB_PATH=${GOCHAT_GEOIP_DB_PATH:-}
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
Reference in New Issue
Block a user