version: '3.0'
services:
activepieces:
image: docker.mafyuh.xyz/activepieces/activepieces@sha256:866b6de70e8d300dba3170c0f6dda041a95cb23176b78fc45bb6de9ee134f3b6
container_name: activepieces
restart: unless-stopped
## Enable the following line if you already use AP_EXECUTION_MODE with SANDBOXED or old activepieces, checking the breaking change documentation for more info.
## privileged: true
ports:
- '8080:80'
depends_on:
- postgres
- redis
env_file: .env
networks:
- activepieces
postgres:
image: 'postgres:14.4'
container_name: postgres
environment:
- 'POSTGRES_DB=${AP_POSTGRES_DATABASE}'
- 'POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD}'
- 'POSTGRES_USER=${AP_POSTGRES_USERNAME}'
volumes:
- postgres_data:/var/lib/postgresql/data
redis:
image: 'redis:7.0.7'
container_name: redis
- 'redis_data:/data'
postgres_data:
redis_data: