+3 votes
341 views

I am new to working with odoo, I am running two docker containers for odoo and postgres, I created the database from the postgres container. The command line to run odoo on the database is given as :$ ~/odoo/odoo/odoo.py -d my_db

But I can't find this path on my container. Here is my configuration for the docker container

version: "2"
services:
  odoo:
    image: igprohome.ddns.net:8443/odoo:8.0
    container_name: odoo8
    ports:
        - 8069:8069
    environment:
        - DB_PORT_5432_TCP_ADDR=odoo8_db
        - DB_PORT_5432_TCP_PORT=5432
        - DB_ENV_POSTGRES_USER=odoo
        - DB_ENV_POSTGRES_PASSWORD=odoo
    links:
        - db:db
    volumes:
        - ./extra-addons:/mnt/extra-addons
        - ./filestore:/var/lib/odoo
        - ./odoo.conf:/etc/odoo/openerp-server.conf

  db:
    image: igprohome.ddns.net:8443/postgres:9.6
    container_name: odoo8_db
    environment:
        POSTGRES_USER: odoo
        POSTGRES_PASSWORD: odoo
    volumes:
        - ./data:/var/lib/postgresql/data

thank you so much

in Server by (10.5k points) | 341 views

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
205 questions
180 answers
37 comments
222,942 users