Include full contents of all nested repositories
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
37
letsbe-ansible-runner/stacks/typebot/.env
Normal file
37
letsbe-ansible-runner/stacks/typebot/.env
Normal file
@@ -0,0 +1,37 @@
|
||||
## Make sure to change this to your own random string of 32 characters (https://docs.typebot.io/self-hosting/deploy/docker#2-add-the-required-configuratio>
|
||||
ENCRYPTION_SECRET={{ typebot_encryption_secret }}
|
||||
|
||||
DATABASE_URL=postgresql://postgres:{{ typebot_postgres_password }}@{{ customer }}-typebot-db:5432/typebot
|
||||
|
||||
NODE_OPTIONS=--no-node-snapshot
|
||||
|
||||
NEXTAUTH_URL=https://{{ domain_botlab }}
|
||||
NEXT_PUBLIC_VIEWER_URL=https://{{ domain_bot_viewer }}
|
||||
|
||||
DEFAULT_WORKSPACE_PLAN=UNLIMITED
|
||||
DISABLE_SIGNUP=false
|
||||
|
||||
ADMIN_EMAIL=administrator@{{ domain }}
|
||||
## For more configuration options check out: https://docs.typebot.io/self-hosting/configuration
|
||||
|
||||
|
||||
## SMTP Configuration (Make noreply email account too)
|
||||
SMTP_USERNAME=noreply@{{ domain }}
|
||||
SMTP_PASSWORD=
|
||||
SMTP_HOST=mail.{{ domain }}
|
||||
SMTP_PORT=465
|
||||
SMTP_SECURE=true
|
||||
NEXT_PUBLIC_SMTP_FROM="{{ company_name }} <noreply@{{ domain }}>"
|
||||
SMTP_AUTH_DISABLED=false
|
||||
|
||||
|
||||
|
||||
## S3 Configuration for MinIO
|
||||
S3_ACCESS_KEY=#replace
|
||||
S3_SECRET_KEY=#replace
|
||||
S3_BUCKET=bots
|
||||
S3_PORT=
|
||||
S3_ENDPOINT={{ domain_s3 }}
|
||||
S3_SSL=true
|
||||
S3_REGION=eu-central
|
||||
S3_PUBLIC_CUSTOM_DOMAIN=https://{{ domain_s3 }}/bots
|
||||
60
letsbe-ansible-runner/stacks/typebot/docker-compose.yml
Normal file
60
letsbe-ansible-runner/stacks/typebot/docker-compose.yml
Normal file
@@ -0,0 +1,60 @@
|
||||
version: '3.3'
|
||||
|
||||
volumes:
|
||||
{{ customer }}-typebot-db-data:
|
||||
|
||||
services:
|
||||
{{ customer }}-typebot-db:
|
||||
image: postgres:16
|
||||
restart: always
|
||||
volumes:
|
||||
- {{ customer }}-typebot-db-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_DB=typebot
|
||||
- POSTGRES_PASSWORD={{ typebot_postgres_password }}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
{{ customer }}-typebot:
|
||||
ipv4_address: 172.20.25.2
|
||||
|
||||
typebot-builder:
|
||||
image: baptistearno/typebot-builder:latest
|
||||
restart: always
|
||||
labels:
|
||||
- "diun.enable=true"
|
||||
depends_on:
|
||||
{{ customer }}-typebot-db:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- '3061:3000'
|
||||
extra_hosts:
|
||||
- 'host.docker.internal:host-gateway'
|
||||
env_file: /opt/letsbe/env/typebot.env
|
||||
networks:
|
||||
{{ customer }}-typebot:
|
||||
ipv4_address: 172.20.25.3
|
||||
|
||||
typebot-viewer:
|
||||
image: baptistearno/typebot-viewer:latest
|
||||
depends_on:
|
||||
{{ customer }}-typebot-db:
|
||||
condition: service_healthy
|
||||
restart: always
|
||||
ports:
|
||||
- '3062:3000'
|
||||
env_file: /opt/letsbe/env/typebot.env
|
||||
networks:
|
||||
{{ customer }}-typebot:
|
||||
ipv4_address: 172.20.25.4
|
||||
|
||||
networks:
|
||||
{{ customer }}-typebot:
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.20.25.0/28
|
||||
gateway: 172.20.25.1
|
||||
Reference in New Issue
Block a user