Skip to content

Better docs regarding docker-compose #1049

Closed

Description

@gioragutt

📚 Documentation

I believe the docs regarding running with docker-compose are a bit... missing 😅

It is stated in many places that there is a docker-compose.yml file and that you can/should set up the environment, but it's up to users to find out where those files are.

Some things I had trouble with/had to figure out myself:

  1. finding the docker-compose.yml file
  2. understanding that there should be a .env file as well
  3. after running, I got an SQL error which @lohanidamodar helped solve.
  4. when the SQL error was solved, Appwrite started successfully, but I have no idea what user to sign in with 🙄.
    This issue seems related, but my first intuition is that there's some admin dashboard for management, and that's usually the first thing people would look for when they run such a service locally for the first time.

I have two suggestions:

  1. Create an appwrite-docker-compose repo.

It will contain the docker-compose.yml, .env, and any related docs for running in docker-compose. This way you can simply clone the repo and get started quicker.

Another bonus is that you can keep this repo updated with any security/whatever updates, in separation from the main repo (appwrite/appwrite) so that users that only want to run it with docker-compose can do it without having the full repo.

  1. Add a Docker Compose section to the Installation docs.

There's already a section for Production, so I believe it's fair that there would be one that's dedicated to Docker Compose, and it will have all the relevant explanations/faq when running in Docker Compose. Currently, related docs are scattered in different parts of the docs and GH issues.

Have you spent some time checking if this issue has been raised before?

✅

Have you read the Code of Conduct?

✅

Activity

  1. eldadfux commented on Mar 31, 2021

    @eldadfux
    Member

    Hey @gioragutt, we do have the 'Manual' section on the installation page which explains this: https://appwrite.io/docs/installation - maybe we should change the title to make it easier to find.

    With 0.8 release we will be adding the got account which will make the first login screen way more intuitive. Please let me know if this is enough or if you have more suggestions.

  2. gioragutt commented on Mar 31, 2021

    @gioragutt
    Author

    Hey, I looked at the docs again.

    IMO I think that having a separate Docker Compose page will be more explicit for people, and from my experience with such services, there's usually a dedicated section for different kinds of deployments, f.e docker-compose, k8s, etc.

    I think that calling docker-compose the Manual way is a bit imprecise, since sometimes docker-compose may be the production approach.

    So regarding the Production doc... I think you should decouple the practice of configuration the production environment, and how to actually set up different means of deployment.

  3. self-assigned this
    on Jan 27, 2022
  4. stnguyen90 commented on Oct 13, 2022

    @stnguyen90
    Contributor

    @gioragutt, since our Manual Installation method docs now link to the docker-compose.yml and .env files, can this be closed now?

  5. added
    product / docs
    on Jan 12, 2023
  6. tcurdt commented on Jan 23, 2023

    @tcurdt

    I am still puzzled what the first login should be 🤷‍♂️

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

Metadata

Metadata

Assignees

Labels

product / docs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions