Unverified Commit 0de056c8 by Paul B

[dev] Use latest Odoo 9.0-cooperatic image of 2021-04-02

Ce commit fait aussi en sorte de monter le dossier courant comme
volume dans l'image des applis-tierces pour pouvoir développer.
parent dbd27d4f
version: '3'
services:
app:
build:
context: .
......@@ -12,6 +13,9 @@ services:
links:
- "couchdb:couchdb"
- "odoo:odoo"
volumes:
- "./:/home/app/"
couchdb:
build:
context: .
......@@ -22,6 +26,7 @@ services:
- "5984:5984" # Expose port because it's used by the frontend
volumes:
- "couchdb-data:/opt/couchdb/data"
database:
image: "postgres:13"
env_file: .env
......@@ -29,7 +34,7 @@ services:
volumes:
- "odoo-pg-data:/var/lib/postgresql/data"
odoo:
image: "registry.gitlab.com/lgds/foodcoops:9.0-cooperatic-2021-03-21"
image: "registry.gitlab.com/lgds/foodcoops:9.0-cooperatic-2021-04-02"
env_file: .env
restart: always
ports:
......
......@@ -11,8 +11,8 @@ WORKDIR /home/app
COPY requirements.txt /home/app/
RUN pip install -r requirements.txt
# Copy application
ADD . /home/app/
# Setup volume to be able to dev application locally
VOLUME /home/app
# Run the application:
EXPOSE 8080
......
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