adding ap
This commit is contained in:
parent
9feec98aed
commit
e56145fdac
1 changed files with 41 additions and 0 deletions
41
ap/docker-compose.yml
Normal file
41
ap/docker-compose.yml
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
version: '3.0'
|
||||||
|
services:
|
||||||
|
activepieces:
|
||||||
|
image: activepieces/activepieces@sha256:00306dff7ecbb88a29bc6da39b5d880c21b572b63c4590dd1859d015a7a6c869
|
||||||
|
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
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- 'POSTGRES_DB=${AP_POSTGRES_DATABASE}'
|
||||||
|
- 'POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD}'
|
||||||
|
- 'POSTGRES_USER=${AP_POSTGRES_USERNAME}'
|
||||||
|
volumes:
|
||||||
|
- postgres_data:/var/lib/postgresql/data
|
||||||
|
networks:
|
||||||
|
- activepieces
|
||||||
|
redis:
|
||||||
|
image: 'redis:7.0.7'
|
||||||
|
container_name: redis
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- 'redis_data:/data'
|
||||||
|
networks:
|
||||||
|
- activepieces
|
||||||
|
volumes:
|
||||||
|
postgres_data:
|
||||||
|
redis_data:
|
||||||
|
networks:
|
||||||
|
activepieces:
|
Reference in a new issue