description |
---|
This guide demonstrates how to set up Elsa Server and Studio using Docker Compose, enabling you to run both components from a single Docker image. |
Below is an example Docker Compose configuration that sets up the Elsa Server + Studio application:
services:
# Elsa Studio and Server from a single image.
elsa-server-and-studio:
image: elsaworkflows/elsa-server-and-studio-v3-3-0-preview:latest
pull_policy: always
environment:
ASPNETCORE_ENVIRONMENT: Development
HTTP_PORTS: 8080
HTTP__BASEURL: http://localhost:14000
ports:
- "14000:8080"
-
Create a
docker-compose.yml
file in your project directory with the above configuration. -
Ensure that Docker and Docker Compose are installed on your machine. Refer to the prerequisites documentation for installation guidance.
-
Open a terminal in the directory containing the
docker-compose.yml
file. -
Run the following command to start the container:
docker-compose up
Once the container is running, you can access Elsa Studio in your browser at: http://localhost:14000.
Use the default admin credentials to log in.
username: admin
password: password