Skip to content

Latest commit

 

History

History
executable file
·
53 lines (36 loc) · 1.39 KB

docker-installation.md

File metadata and controls

executable file
·
53 lines (36 loc) · 1.39 KB

Installation of sqStorage with Docker

Follow these steps to install sqStorage on your system with docker.

Prerequisites

  • Docker and Docker Compose must be installed.

Installation Steps

  1. Clone the repository:

    git clone https://github.com/jrie/sqstorage.git
  2. Change into the directory:

    cd sqstorage
  3. Copy the example environment file:

    cp env-example .env
  4. Open the .env file for editing:

    nano .env

    Adjust the settings (user, password, database name, host, port, etc.) as necessary. If Portainer is used, the .env file can be uploaded to Portainer or the variables can be set manually on the Portainer web interface.

  5. Start the Docker containers:

    docker compose up -d

    Note: The ".env" file is required in order for the Docker setup to run. And it is included to load.

Accessing sqStorage

Once sqStorage is running, you can access it in your browser at the following address:

http://<your-ip-address>:1337

After accessing this URL, you will be asked to enter the access data for the database so that sqStorage can establish a connection to the database. It is important that the "Database-Server" is set to the "docker-container-hostname" of the sqStorage-DB-server. Usually, this is "sqstorage-db-1".

Done!

Your sqStorage installation should now be running.