ACTIVEPIECES/.devcontainer/docker-compose.yml
rohit cd823a2d9e
Some checks failed
Crowdin Action / synchronize-with-crowdin (push) Has been cancelled
Release Pieces / Release-Pieces (push) Has been cancelled
automaton layer
2025-07-05 23:59:03 +05:30

55 lines
1.1 KiB
YAML

version: '3.8'
networks:
activepieces:
driver: bridge
services:
app:
privileged: true
build:
context: .
dockerfile: Dockerfile
volumes:
- ..:/workspace:cached
# Connect the app to the same network as db and redis
networks:
- activepieces
# Overrides default command so things don't shut down after the process ends.
command: sleep infinity
# Uncomment the next line to use a non-root user for all processes.
# user: node
# Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
# (Adding the "ports" property to this file will not forward from a Codespace.)
db:
image: postgres:14.4
environment:
POSTGRES_DB: activepieces
POSTGRES_USER: postgres
POSTGRES_PASSWORD: A79Vm5D4p2VQHOp2gd5
networks:
- activepieces
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
redis:
image: redis:7.0.7
networks:
- activepieces
volumes:
- redis_data:/data
ports:
- "6379:6379"
volumes:
postgres_data:
redis_data: