You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
979 B
40 lines
979 B
# Use this environment to download all repositories from `repos.yaml` file:
|
|
#
|
|
# export UID="$(id -u $USER)" GID="$(id -g $USER)" UMASK="$(umask)"
|
|
# docker-compose -f setup-devel.yaml run --rm odoo
|
|
#
|
|
# You can clean your git project before if you want to have all really clean:
|
|
#
|
|
# git clean -ffd
|
|
|
|
version: "2.4"
|
|
|
|
services:
|
|
odoo:
|
|
build:
|
|
context: ./odoo
|
|
args:
|
|
AGGREGATE: "false"
|
|
DEPTH_DEFAULT: 100
|
|
ODOO_VERSION: "14.0"
|
|
PYTHONOPTIMIZE: ""
|
|
PIP_INSTALL_ODOO: "false"
|
|
CLEAN: "false"
|
|
COMPILE: "false"
|
|
UID: "${UID:-1000}"
|
|
GID: "${GID:-1000}"
|
|
networks:
|
|
- public
|
|
volumes:
|
|
- ./odoo/custom/src:/opt/odoo/custom/src:rw,z
|
|
environment:
|
|
DEPTH_DEFAULT: 100
|
|
# XXX Export these variables before running setup to own the files
|
|
UID: "${UID:-1000}"
|
|
GID: "${GID:-1000}"
|
|
UMASK: "$UMASK"
|
|
user: root
|
|
entrypoint: autoaggregate
|
|
|
|
networks:
|
|
public:
|