Skip to content

OpenSettings/open-settings-docker

Repository files navigation

Header OpenSettings Docker Image

.NET Core Desktop Docker Image Version Docs GitHub GitHub

Welcome to the official docker repository for OpenSettings!

OpenSettings is a centralized settings management system designed for .NET applications. It simplifies app settings management by providing a structured and scalable approach to handling settings.

Demo

📖 Documentation

The latest OpenSettings documentation is available at docs.opensettings.net

📂 Repository Structure

This repository contains the necessary files and configurations to run OpenSettings as a provider inside a Docker container. It is designed to make deployment easy while ensuring compatibility with various environments.

🚀 Getting Started

To contribute or run the documentation locally, follow these steps. You can choose between using docker run or Docker Compose:

1️⃣ Method 1: Run Using Docker Run (No Need to Clone the Repository)

If you don't need to modify the code and just want to quickly run OpenSettings, you can use the following docker run command. This method doesn't require cloning the repository.

Run the OpenSettings container directly from Docker Hub:

docker run -d -p 5388:8080 --name container-open-settings opensettings/open-settings:latest

This will start the OpenSettings application in a Docker container and map port 8080 from the container to port 5388 on your host machine. You can then navigate to http://localhost:5388 to preview the OpenSettings app.

For more information on docker usage, please check our comprehensive Docker guide.

2️⃣ Method 2: Run Using Docker Compose

If you need to modify the code or work with multiple containers (like databases or other services), you can use Docker Compose.

First, clone the repository:

git clone https://github.com/OpenSettings/open-settings-docker.git
cd open-settings-docker/

3️⃣ Run Docker Compose

Before running the project, ensure that Docker and Docker Compose are installed on your machine. If you're unsure, check the Docker installation guide.

Run the following command to bring up the necessary containers:

docker-compose up

4️⃣ Navigate to the Url

Once the containers are running, Open your browser and navigate to http://localhost:5388 to preview the OpenSettings! 🚀

5️⃣ Configure Database Provider (Optional)

By default, the Docker Compose configuration uses Sqlite as the database provider. However, you can choose a different database provider by updating the docker-compose.yml file.

# Default to Sqlite database (this is active by default)
- OPENSETTINGS_Configuration__DbProviderName=Sqlite
- OPENSETTINGS_Configuration__ConnectionString=Data Source=OpenSettings.db

comment out the default Sqlite lines and uncomment the database provider you want to use. Be sure to also update the connection string with your own credentials.

💡 License

Licensed under the OpenSettings License.

🤝 Contributing

By contributing this repository, you agree to the Contribution Terms.

🐞 Issues & Reports

If you encounter any issues or have suggestions, please report them to the appropriate GitHub repository.

Where to Report?

  • For Docker-related issues (e.g., container setup, networking, environment variables):
    👉 Report at open-settings-docker Issues.
  • For OpenSettings framework issues (e.g., settings management, API behavior):
    👉 Report at open-settings Issues.

How to Report an Issue:

  1. Search for Existing Issues: Check if your issue has already been reported in the relevant repository.
  2. Submit a New Issue:
    • Choose the correct repository based on the issue type.
    • Click "New issue" and describe the problem in detail, including steps to reproduce, error messages, and logs.

Reporting Guidelines:

  • Be specific about the issue, including environment and configuration details.
  • Include relevant error logs or screenshots if available.

Security Concerns:

For security-related issues, do not use GitHub Issues. Contact us directly at security@opensettings.net.

We appreciate your feedback and will address your concerns as soon as possible!

🔗 Useful Links


OpenSettings makes settings management simple, powerful, and flexible! 🚀

About

Dockerized solution for OpenSettings

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages