Unverified Commit a63d374b by Paul B

[dev] Use LGDS specific odoo conf & Docker images

parent 41910902
COUCHDB_USER=admin
COUCHDB_PASSWORD=123abc
POSTGRES_USER=foodcoops
POSTGRES_PASSWORD=foodcoops
POSTGRES_DB=foodcoops
POSTGRES_USER=lgds
POSTGRES_PASSWORD=lgds
POSTGRES_DB=lgds
......@@ -13,6 +13,9 @@ services:
links:
- "couchdb:couchdb"
- "odoo:odoo"
depends_on:
- odoo
- couchdb
volumes:
- "./:/home/app/"
......@@ -28,19 +31,23 @@ services:
- "couchdb-data:/opt/couchdb/data"
database:
image: "postgres:10"
image: "registry.gitlab.com/lgds/private-docker-images/postgres-lgds-anon:2021-04-28"
env_file: .env
restart: always
volumes:
- "odoo-pg-data:/var/lib/postgresql/data"
odoo:
image: "registry.gitlab.com/lgds/foodcoops:9.0-cooperatic-2021-04-02"
build:
context: .
dockerfile: dockerfiles/Dockerfile.odoo-lgds
env_file: .env
restart: always
ports:
- "8069:8069"
links:
- "database:database"
depends_on:
- database
volumes:
- "odoo-shared-data:/home/app/.local/share/Odoo"
......
# FROM registry.gitlab.com/lgds/foodcoops:9.0-cooperatic-2021-04-15
FROM registry.gitlab.com/lgds/private-docker-images/odoo-with-filestore:2021-04-28
# Basic configuration of Odoo
RUN mkdir -p /home/app/.local/share/Odoo/
COPY --chown=app dockerfiles/odoo.conf /home/app/.local/share/Odoo/odoo.conf
COPY --chown=app .env /home/app/
# Don't install modules because we start with an already provisioned database
RUN rm -rf /home/app/modules.txt
CMD ["./odoo.sh", "/home/app/.local/share/Odoo/odoo.conf", "lgds"]
[options]
admin_passwd=False
db_host=database
db_port=5432
db_user=lgds
db_password=lgds
db_name=lgds
dbfilter=lgds
without_demo=all
# Addons path doesn't seem to work from Configuration File...
#addons_path=odoo/addons,extra_addons,intercoop_addons,louve_addons,smile_addons
load_language=fr_FR
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment