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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
cooperatic-foodcoops
third-party
Commits
ca0734b5
Commit
ca0734b5
authored
Dec 15, 2021
by
Thibault Grandjean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update docker-compose
parent
698acd9b
Pipeline
#1648
passed with stage
in 1 minute 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
docker-compose.yml
docker-compose.yml
+9
-3
No files found.
docker-compose.yml
View file @
ca0734b5
...
@@ -31,18 +31,24 @@ services:
...
@@ -31,18 +31,24 @@ services:
image
:
"
postgres:10"
image
:
"
postgres:10"
env_file
:
.env
env_file
:
.env
restart
:
always
restart
:
always
ports
:
-
"
5432:5432"
# Expose port for data restore
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"
image
:
odoo/foodcoops
# First create this image locally from odoo's repo
env_file
:
.env
restart
:
always
restart
:
always
ports
:
ports
:
-
"
8069:8069"
-
"
8069:8069"
links
:
links
:
-
"
database:database"
-
"
database:database"
volumes
:
volumes
:
-
"
odoo-shared-data:/home/app/.local/share/Odoo"
-
"
odoo-shared-data:/root/.local/share/Odoo"
-
"
./data/:/external-data/"
# Create a volume binding local fs to container to restore data
command
:
python ./odoo/odoo.py --db_host=database --database=lacagette_anon --db_user=foodcoops --db_password=foodcoops --addons-path=odoo/addons,lacagette_addons,extra_addons,smile_addons,intercoop_addons,louve_addons,supercafoutch_addons
depends_on
:
-
"
database"
volumes
:
volumes
:
odoo-shared-data
:
odoo-shared-data
:
...
...
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