Skip to content

Conversation

@ElishaKay
Copy link

@ElishaKay ElishaKay commented Oct 21, 2025

Hi Obot Team 👋

Great project :)
I had some friction setting up & figured a Docker Compose file might enable an even smoother onboarding experience.

I found myself needing to remove my container in order to add new environment variables as I went (& therefore losing my state of users and auth provider credentials).

I like the docker compose method of rebuilding easily with new environment variables.

Further down the line, connecting this docker-compose with a .env file and creating a sample .env.example file could make this onboarding experience even smoother - to verify users don't push up their keys accidentally :)

Alternatively, you can also launch Obot with Docker Compose by adding your [custom environment variables](https://docs.obot.ai/configuration/server-configuration) into `docker-compose.yaml` & running:

```
docker compose up --build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be docker compose up without --build, correct? you don't mean to build the image from source code?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔Maybe we should have the option of running docker compose for setting up the dev environment as well.
I'll meditate on it a bit

Copy link
Contributor

@StrongMonkey StrongMonkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution! One minor nit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants