-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-devel.yaml
44 lines (41 loc) · 1.28 KB
/
setup-devel.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Use this environment to download all repositories from `repos.yaml` file:
#
# export DOODBA_GITAGGREGATE_UID="$(id -u $USER)" DOODBA_GITAGGREGATE_GID="$(id -g $USER)" DOODBA_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:
image: registry.gitlab.com/spearhead-odoo/odoo:18.0
build:
context: ./odoo
args:
AGGREGATE: "false"
DEPTH_DEFAULT: 100
ODOO_VERSION: "18.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: "${DOODBA_GITAGGREGATE_UID:-1000}"
GID: "${DOODBA_GITAGGREGATE_GID:-1000}"
UMASK: "$DOODBA_UMASK"
GIT_TOKEN: "${GIT_TOKEN}"
DEFAULT_REPO_PATTERN: "https://github.com/Spearhead-Odoo/{}.git"
DEFAULT_REPO_PATTERN_ODOO: "https://github.com/Spearhead-Odoo/odoo.git"
user: root
entrypoint: autoaggregate
networks:
public: