Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
261
Issues
261
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul
third-party
Commits
874f4010
Unverified
Commit
874f4010
authored
Apr 15, 2021
by
Paul B
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] Use LGDS specific odoo conf & Docker images
parent
bcec7453
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
5 deletions
+35
-5
.env
.env
+3
-3
docker-compose.yml
docker-compose.yml
+9
-2
Dockerfile.odoo-lgds
dockerfiles/Dockerfile.odoo-lgds
+11
-0
odoo.conf
dockerfiles/odoo.conf
+12
-0
No files found.
.env
View file @
874f4010
COUCHDB_USER=admin
COUCHDB_USER=admin
COUCHDB_PASSWORD=123abc
COUCHDB_PASSWORD=123abc
POSTGRES_USER=
foodcoop
s
POSTGRES_USER=
lgd
s
POSTGRES_PASSWORD=
foodcoop
s
POSTGRES_PASSWORD=
lgd
s
POSTGRES_DB=
foodcoop
s
POSTGRES_DB=
lgd
s
docker-compose.yml
View file @
874f4010
...
@@ -13,6 +13,9 @@ services:
...
@@ -13,6 +13,9 @@ services:
links
:
links
:
-
"
couchdb:couchdb"
-
"
couchdb:couchdb"
-
"
odoo:odoo"
-
"
odoo:odoo"
depends_on
:
-
odoo
-
couchdb
volumes
:
volumes
:
-
"
./:/home/app/"
-
"
./:/home/app/"
...
@@ -28,19 +31,23 @@ services:
...
@@ -28,19 +31,23 @@ services:
-
"
couchdb-data:/opt/couchdb/data"
-
"
couchdb-data:/opt/couchdb/data"
database
:
database
:
image
:
"
postgres:10
"
image
:
"
registry.gitlab.com/lgds/private-docker-images/postgres-lgds-anon:2021-04-28
"
env_file
:
.env
env_file
:
.env
restart
:
always
restart
:
always
volumes
:
volumes
:
-
"
odoo-pg-data:/var/lib/postgresql/data"
-
"
odoo-pg-data:/var/lib/postgresql/data"
odoo
:
odoo
:
image
:
"
registry.gitlab.com/lgds/foodcoops:9.0-cooperatic-2021-04-02"
build
:
context
:
.
dockerfile
:
dockerfiles/Dockerfile.odoo-lgds
env_file
:
.env
env_file
:
.env
restart
:
always
restart
:
always
ports
:
ports
:
-
"
8069:8069"
-
"
8069:8069"
links
:
links
:
-
"
database:database"
-
"
database:database"
depends_on
:
-
database
volumes
:
volumes
:
-
"
odoo-shared-data:/home/app/.local/share/Odoo"
-
"
odoo-shared-data:/home/app/.local/share/Odoo"
...
...
dockerfiles/Dockerfile.odoo-lgds
0 → 100644
View file @
874f4010
# 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"]
dockerfiles/odoo.conf
0 → 100644
View file @
874f4010
[
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment