e13e3c2b46 | ||
---|---|---|
backend | ||
bin | ||
configs | ||
process_models | ||
.gitignore | ||
Makefile | ||
README.md | ||
docker-compose.yml |
README.md
arena-compose-postgres
This application consists of a frontend and a backend service, a PostgreSQL database, and a connector proxy, all orchestrated with Docker Compose.
Services and Default Ports:
spiffworkflow-frontend
: The frontend user interface for the workflow application.spiffworkflow-backend
: The backend service providing API endpoints for the frontend.spiffdb
: A PostgreSQL database service used by the backend to store workflow data.spiffworkflow-connector
: A connector proxy service for external integrations.
Getting Started:
- Ensure Docker and Docker Compose are installed on your system.
- Clone the repository and navigate to the directory containing the
docker-compose.yml
file. The default ports are set in this file, but you can change them if needed. - Run
make up
to start all services. The services will be available on the following default ports: - Access the frontend at
http://localhost:8001
, where8001
is the default port for the frontend service. - Access the backend API at
http://localhost:8000/v1.0
, where8000
is the default port for the backend service. - Run
make down
to stop all services.
Database Access:
To access the PostgreSQL database from within the spiffdb
container, use the following command:
psql -U spiffuser -d spiffworkflow
The default username is spiffuser
and the password is spiffpass
, as configured in the docker-compose.yml
file.
Health Checks:
Health checks are configured for the spiffworkflow-backend
and spiffdb
services to ensure they are ready before dependent services start.
Troubleshooting:
If you encounter any issues with the services, check the logs using docker-compose logs
.