58 lines
1.7 KiB
Django/Jinja
58 lines
1.7 KiB
Django/Jinja
version: '3.8'
|
|
|
|
services:
|
|
teable:
|
|
image: teableio/teable:latest
|
|
container_name: business-teable-1
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- DATABASE_URL=postgresql://{{ core_db_credentials.teable_db_user }}:{{ core_db_credentials.teable_db_pass }}@host.docker.internal:5432/{{ core_db_credentials.teable_db_name }}
|
|
- REDIS_URL=redis://redis:6379
|
|
- PUBLIC_ORIGIN=http://{{ teable_domain }}
|
|
- NEXT_PUBLIC_BUILD_STANDALONE=1
|
|
volumes:
|
|
- teable_data:/app/.assets
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
depends_on:
|
|
- redis
|
|
restart: unless-stopped
|
|
|
|
activepieces:
|
|
image: activepieces/activepieces:latest
|
|
container_name: business-activepieces-1
|
|
ports:
|
|
- "8081:80"
|
|
environment:
|
|
- AP_POSTGRES_DATABASE={{ core_db_credentials.activepieces_db_name }}
|
|
- AP_POSTGRES_HOST=host.docker.internal
|
|
- AP_POSTGRES_PORT=5432
|
|
- AP_POSTGRES_USERNAME={{ core_db_credentials.activepieces_db_user }}
|
|
- AP_POSTGRES_PASSWORD={{ core_db_credentials.activepieces_db_pass }}
|
|
- AP_REDIS_HOST=redis
|
|
- AP_REDIS_PORT=6379
|
|
- AP_ENCRYPTION_KEY={{ ap_encryption_key }}
|
|
- AP_JWT_SECRET={{ ap_jwt_secret }}
|
|
- AP_FRONTEND_URL=http://{{ activepieces_domain }}
|
|
volumes:
|
|
- activepieces_data:/root/.activepieces
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
depends_on:
|
|
- redis
|
|
restart: unless-stopped
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: business-redis-1
|
|
command: redis-server --appendonly yes
|
|
volumes:
|
|
- redis_data:/data
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
teable_data:
|
|
activepieces_data:
|
|
redis_data:
|