odoo / odoo/docker

Improve setup guide

Open
#427 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
1.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

During setup, I found:

Problems

  • docker-env variables are not used in config

  • odoo user has no fixed UID (bad)

  • initial setup needs:

    • docker exec -it odoo-web-1 id
    • chown -R <id>:<id> /mnt/odoo
    • docker exec -it odoo-web-1 odoo -i base

Improvements

  • use sed/echo to create odoo-config from env vars

  • add user odoo with fixed UID (and add it to documentation)

  • check first run (maybe with a lockfile) and run the odoo -i base on first run

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the setup guide and reproduce the listed Docker commands to understand the current first-run flow. Trace how docker-env variables reach the configuration, then define completion as using those variables, assigning and documenting a fixed odoo UID, and running initialization only on the first run.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops, documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.