README.md
Rendering markdown...
services:
chatwoot:
image: chatwoot/chatwoot:v4.11.1
container_name: poc-chatwoot
depends_on:
- postgres
- redis
environment:
- RAILS_ENV=production
- SECRET_KEY_BASE=replace_with_a_random_secret_key
- FRONTEND_URL=http://localhost:3000
- POSTGRES_HOST=postgres
- POSTGRES_USERNAME=chatwoot
- POSTGRES_PASSWORD=chatwoot
- POSTGRES_DATABASE=chatwoot_production
- REDIS_URL=redis://redis:6379
- RAILS_LOG_TO_STDOUT=true
entrypoint: /bin/sh -c "bundle exec rails db:chatwoot_prepare && bundle exec rails s -b 0.0.0.0 -p 3000"
ports:
- "3000:3000"
volumes:
- ./exploit:/exploit
networks:
- poc-net
sidekiq:
image: chatwoot/chatwoot:v4.11.1
container_name: poc-sidekiq
depends_on:
- postgres
- redis
environment:
- RAILS_ENV=production
- SECRET_KEY_BASE=replace_with_a_random_secret_key
- POSTGRES_HOST=postgres
- POSTGRES_USERNAME=chatwoot
- POSTGRES_PASSWORD=chatwoot
- POSTGRES_DATABASE=chatwoot_production
- REDIS_URL=redis://redis:6379
command: bundle exec sidekiq -C config/sidekiq.yml
networks:
- poc-net
postgres:
image: postgres:15
container_name: poc-postgres
environment:
- POSTGRES_USER=chatwoot
- POSTGRES_PASSWORD=chatwoot
- POSTGRES_DB=chatwoot_production
volumes:
- pg_data:/var/lib/postgresql/data
networks:
- poc-net
redis:
image: redis:7-alpine
container_name: poc-redis
networks:
- poc-net
volumes:
pg_data:
networks:
poc-net:
driver: bridge