version: '3.0' services: activepieces: image: ghcr.io/activepieces/activepieces:0.39.2 container_name: {{ customer }}-activepieces restart: unless-stopped labels: - "diun.enable=true" ## Enable the following line if you already use AP_EXECUTION_MODE with SANDBOXED or old activepieces, checking the breaking change documentation for mor> ports: - '3056:80' depends_on: - postgres - redis env_file: /opt/letsbe/env/activepieces.env networks: {{ customer }}-activepieces: ipv4_address: 172.20.27.2 postgres: image: 'postgres:14.4' container_name: activepieces-postgres restart: unless-stopped environment: - 'POSTGRES_DB=${AP_POSTGRES_DATABASE}' - 'POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD}' - 'POSTGRES_USER=${AP_POSTGRES_USERNAME}' volumes: - activepieces_postgres_data:/var/lib/postgresql/data networks: {{ customer }}-activepieces: ipv4_address: 172.20.27.3 redis: image: 'redis:7.0.7' container_name: activepieces-redis restart: unless-stopped volumes: - 'activepieces_redis_data:/data' networks: {{ customer }}-activepieces: ipv4_address: 172.20.27.4 volumes: activepieces_postgres_data: activepieces_redis_data: networks: {{ customer }}-activepieces: ipam: config: - subnet: 172.20.27.0/28 gateway: 172.20.27.1