diff --git a/blueprints/botpress/docker-compose.yml b/blueprints/botpress/docker-compose.yml new file mode 100644 index 0000000..7afb52b --- /dev/null +++ b/blueprints/botpress/docker-compose.yml @@ -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: {} \ No newline at end of file diff --git a/blueprints/botpress/logo.png b/blueprints/botpress/logo.png new file mode 100644 index 0000000..0bae5e1 Binary files /dev/null and b/blueprints/botpress/logo.png differ diff --git a/blueprints/botpress/template.toml b/blueprints/botpress/template.toml new file mode 100644 index 0000000..c804f78 --- /dev/null +++ b/blueprints/botpress/template.toml @@ -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}" \ No newline at end of file