mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
Add Botpress blueprint with Docker Compose and configuration files
- Introduced Docker Compose setup for Botpress service, including environment variables and volume configuration. - Added logo for Botpress. - Created template.toml for Botpress with default variables for configuration.
This commit is contained in:
parent
fe45176be5
commit
68b0eb4818
34
blueprints/botpress/docker-compose.yml
Normal file
34
blueprints/botpress/docker-compose.yml
Normal file
@ -0,0 +1,34 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
botpress:
|
||||
image: botpress/server:12.31.9
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 81
|
||||
environment:
|
||||
- BP_HOST=0.0.0.0
|
||||
- NODE_ENV=production
|
||||
- PG_HOST=botpress-db
|
||||
- PG_PORT=5432
|
||||
- PG_USER=postgres
|
||||
- PG_PASSWORD=${DB_PASSWORD}
|
||||
- PG_SSL=false
|
||||
- PORT=80
|
||||
volumes:
|
||||
- data:/botpress/data
|
||||
depends_on:
|
||||
- botpress-db
|
||||
|
||||
botpress-db:
|
||||
image: postgres:15-alpine
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
- POSTGRES_DB=botpress
|
||||
volumes:
|
||||
- db_data:/var/lib/postgresql/data
|
||||
|
||||
volumes:
|
||||
data: {}
|
||||
db_data: {}
|
BIN
blueprints/botpress/logo.png
Normal file
BIN
blueprints/botpress/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
12
blueprints/botpress/template.toml
Normal file
12
blueprints/botpress/template.toml
Normal file
@ -0,0 +1,12 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
db_password = "${password:16}"
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "botpress"
|
||||
port = 81
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
DB_PASSWORD = "${db_password}"
|
Loading…
Reference in New Issue
Block a user