Skip to main content

Self Hosting

Follow these steps to deploy Steedos Apps on Docker.

Prerequisites

  1. Docker (version 20.10.7 or later)
  2. Docker-Compose (version 1.29.2 or later)
  3. Steedos Enterprise License

Install Steedos Apps

Create a folder named steedos-apps on your machine for deployment and data storage. Then, navigate to this folder using the cd command and follow the steps below:

  1. Contact us to request a trial license key.

  2. Create a new file docker-compose.yml

version: "3.9"

services:

steedos-enterprise:
image: steedos/steedos-enterprise:latest
container_name: steedos-enterprise
ports:
- "80:80"
- "443:443"
- "9001:9001"
environment:
- ROOT_URL=http://127.0.0.1
- TRANSPORTER=redis://redis:6379
- CACHER=redis://redis:6379/1
- STEEDOS_LICENSE=trial
- STEEDOS_LOG_LEVEL=info
tty: true
volumes:
- "./storage:/steedos-storage"
depends_on:
redis:
condition: service_started
steedos-apps:
image: steedos/steedos-apps:latest
container_name: steedos-apps
environment:
- TRANSPORTER=redis://redis:6379
- CACHER=redis://redis:6379/1
depends_on:
redis:
condition: service_started
redis:
image: ecr.aws.steedos.cn/dockerhub/redis:6.2
command: "redis-server --save \"\" --appendonly no --loglevel warning"

This saves the file in the current directory.

  1. Start the Docker container using the following command. You may need to run with sudo if you don't have permission to run docker-compose.
docker-compose up -d

If the image doesn't exist locally, this command downloads the necessary Docker image and starts the container.

  1. Open http://localhost and wait for the server to come up. This can take up to 5 minutes. Once the server is up and running, you can access Steedos at http://localhost.

If you continue to face issues, reach out to support@steedos.com.

Further reading