Fixed Formatting of Files
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
This commit is contained in:
77
deployments/services/Automation Tools/Activepieces.md
Normal file
77
deployments/services/Automation Tools/Activepieces.md
Normal file
@@ -0,0 +1,77 @@
|
||||
---
|
||||
tags:
|
||||
- Activepieces
|
||||
- Automation
|
||||
- Docker
|
||||
---
|
||||
|
||||
**Purpose**: Self-hosted open-source no-code business automation tool.
|
||||
|
||||
```yaml title="docker-compose.yml"
|
||||
version: '3.0'
|
||||
services:
|
||||
activepieces:
|
||||
image: activepieces/activepieces:0.3.11
|
||||
container_name: activepieces
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
ports:
|
||||
- '8080:80'
|
||||
environment:
|
||||
- 'POSTGRES_DB=${AP_POSTGRES_DATABASE}'
|
||||
- 'POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD}'
|
||||
- 'POSTGRES_USER=${AP_POSTGRES_USERNAME}'
|
||||
env_file: stack.env
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
networks:
|
||||
docker_network:
|
||||
ipv4_address: 192.168.5.62
|
||||
postgres:
|
||||
image: 'postgres:14.4'
|
||||
container_name: postgres
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- 'POSTGRES_DB=${AP_POSTGRES_DATABASE}'
|
||||
- 'POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD}'
|
||||
- 'POSTGRES_USER=${AP_POSTGRES_USERNAME}'
|
||||
volumes:
|
||||
- /srv/containers/activepieces/postgresql:/var/lib/postgresql/data'
|
||||
networks:
|
||||
docker_network:
|
||||
ipv4_address: 192.168.5.61
|
||||
redis:
|
||||
image: 'redis:7.0.7'
|
||||
container_name: redis
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /srv/containers/activepieces/redis:/data'
|
||||
networks:
|
||||
docker_network:
|
||||
ipv4_address: 192.168.5.60
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: docker_network
|
||||
docker_network:
|
||||
external: true
|
||||
```
|
||||
|
||||
```jsx title=".env"
|
||||
AP_ENGINE_EXECUTABLE_PATH=dist/packages/engine/main.js
|
||||
AP_ENCRYPTION_KEY=e81f8754faa04acaa7b13caa5d2c6a5a
|
||||
AP_JWT_SECRET=REDACTED #BE SURE TO SET THIS WITH A VALID JWT SECRET > REFER TO OFFICIAL DOCUMENTATION
|
||||
AP_ENVIRONMENT=prod
|
||||
AP_FRONTEND_URL=https://ap.cyberstrawberry.net
|
||||
AP_NODE_EXECUTABLE_PATH=/usr/local/bin/node
|
||||
AP_POSTGRES_DATABASE=activepieces
|
||||
AP_POSTGRES_HOST=192.168.5.61
|
||||
AP_POSTGRES_PORT=5432
|
||||
AP_POSTGRES_USERNAME=postgres
|
||||
AP_POSTGRES_PASSWORD=REDACTED #USE A SECURE SHORT PASSWORD > ENSURE ITS NOT TOO LONG FOR POSTGRESQL
|
||||
AP_REDIS_HOST=redis
|
||||
AP_REDIS_PORT=6379
|
||||
AP_SANDBOX_RUN_TIME_SECONDS=600
|
||||
AP_TELEMETRY_ENABLED=true
|
||||
```
|
||||
36
deployments/services/Automation Tools/Node Red.md
Normal file
36
deployments/services/Automation Tools/Node Red.md
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
tags:
|
||||
- Node-RED
|
||||
- Automation
|
||||
- Docker
|
||||
---
|
||||
|
||||
**Purpose**: Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.
|
||||
|
||||
```yaml title="docker-compose.yml"
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
node-red:
|
||||
image: nodered/node-red:latest
|
||||
environment:
|
||||
- TZ=America/Denver
|
||||
ports:
|
||||
- "1880:1880"
|
||||
networks:
|
||||
docker_network:
|
||||
ipv4_address: 192.168.5.92
|
||||
volumes:
|
||||
- /srv/containers/node-red:/data
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: docker_network
|
||||
docker_network:
|
||||
external: true
|
||||
|
||||
```
|
||||
|
||||
```yaml title=".env"
|
||||
Not Applicable
|
||||
```
|
||||
84
deployments/services/Automation Tools/Semaphore UI.md
Normal file
84
deployments/services/Automation Tools/Semaphore UI.md
Normal file
@@ -0,0 +1,84 @@
|
||||
---
|
||||
tags:
|
||||
- Semaphore
|
||||
- Automation
|
||||
- Docker
|
||||
---
|
||||
|
||||
**Purpose**: User friendly web interface for executing Ansible playbooks, Terraform, OpenTofu code and Bash scripts. It is designed to make your automation tasks easier and more enjoyable.
|
||||
|
||||
[Website Details](https://semaphoreui.com/)
|
||||
|
||||
!!! info "Standalone VM Assumption"
|
||||
It is assumed that you are deploying Semaphore UI in its own standalone virtual machine. These instructions dont accomodate MACVLAN docker networking, and assume that Semaphore UI and its PostgreSQL database backend share their IP address with the VM they are running on.
|
||||
|
||||
## Docker Configuration
|
||||
```yaml title="docker-compose.yml"
|
||||
services:
|
||||
semaphore-ui:
|
||||
ports:
|
||||
- 3000:3000
|
||||
image: public.ecr.aws/semaphore/pro/server:v2.13.12
|
||||
privileged: true
|
||||
environment:
|
||||
SEMAPHORE_DB_DIALECT: postgres
|
||||
SEMAPHORE_DB_HOST: postgres
|
||||
SEMAPHORE_DB_NAME: semaphore
|
||||
SEMAPHORE_DB_USER: root
|
||||
SEMAPHORE_DB_PASS: SuperSecretDBPassword
|
||||
SEMAPHORE_ADMIN: nicole
|
||||
SEMAPHORE_ADMIN_PASSWORD: SuperSecretPassword
|
||||
SEMAPHORE_ADMIN_NAME: Nicole Rappe
|
||||
SEMAPHORE_ADMIN_EMAIL: infrastructure@bunny-lab.io
|
||||
SEMAPHORE_EMAIL_SENDER: "noreply@bunny-lab.io"
|
||||
SEMAPHORE_EMAIL_HOST: "mail.bunny-lab.io"
|
||||
SEMAPHORE_EMAIL_PORT: "587"
|
||||
SEMAPHORE_EMAIL_USERNAME: "noreply@bunny-lab.io"
|
||||
SEMAPHORE_EMAIL_PASSWORD: "SuperSecretSMTPPassword"
|
||||
ANSIBLE_HOST_KEY_CHECKING: "False"
|
||||
volumes:
|
||||
- /srv/containers/semaphore-ui/data:/var/lib/semaphore
|
||||
- /srv/containers/semaphore-ui/config:/etc/semaphore
|
||||
- /srv/containers/semaphore-ui/tmp:/tmp/semaphore
|
||||
depends_on:
|
||||
- postgres
|
||||
|
||||
postgres:
|
||||
image: postgres:12-alpine
|
||||
ports:
|
||||
- 5432:5432
|
||||
volumes:
|
||||
- /srv/containers/semaphore-ui/db:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_DB=semaphore
|
||||
- POSTGRES_USER=root
|
||||
- POSTGRES_PASSWORD=SuperSecretDBPassword
|
||||
- TZ=America/Denver
|
||||
restart: always
|
||||
```
|
||||
|
||||
```yaml title=".env"
|
||||
N/A - Will be cleaned up later.
|
||||
```
|
||||
|
||||
## Traefik Reverse Proxy Configuration
|
||||
If the container does not run on the same host as Traefik, you will need to manually add configuration to Traefik's dynamic config file, outlined below.
|
||||
```yaml
|
||||
http:
|
||||
routers:
|
||||
semaphore:
|
||||
entryPoints:
|
||||
- websecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
http2:
|
||||
service: semaphore
|
||||
rule: Host(`semaphore.bunny-lab.io`)
|
||||
|
||||
services:
|
||||
semaphore:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: http://192.168.3.51:3000
|
||||
passHostHeader: true
|
||||
```
|
||||
Reference in New Issue
Block a user