mirror of
https://github.com/odoocker/odoocker
synced 2025-11-05 07:39:23 +01:00
Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e628bc1820 | ||
|
|
70f6ac1c8d | ||
|
|
44fd632a6d | ||
|
|
ad0f11e13e | ||
|
|
3264a84b4d | ||
|
|
c6eb6b42d4 | ||
|
|
8a7af70d39 | ||
|
|
4b358ed07b | ||
|
|
68bbdc470f | ||
|
|
b0ec685cd0 | ||
|
|
07db2e2bf0 | ||
|
|
235b727525 | ||
|
|
566c52813a | ||
|
|
cf7611fa2c | ||
|
|
d1fcce4d13 | ||
|
|
3622713fb2 | ||
|
|
13a05185b7 | ||
|
|
97180b920e | ||
|
|
ece5ccae8e | ||
|
|
298778bdb5 | ||
|
|
e9e6f02839 |
@@ -150,7 +150,7 @@ MINIO_PROFILES="minio"
|
|||||||
PGADMIN_PROFILES="pgadmin"
|
PGADMIN_PROFILES="pgadmin"
|
||||||
|
|
||||||
# Containers' Tags
|
# Containers' Tags
|
||||||
ODOO_TAG=17.0
|
ODOO_TAG=14.0
|
||||||
POSTGRES_TAG=16.1
|
POSTGRES_TAG=16.1
|
||||||
KEYDB_TAG=latest
|
KEYDB_TAG=latest
|
||||||
MINIO_TAG=latest
|
MINIO_TAG=latest
|
||||||
@@ -202,7 +202,7 @@ DEBUG_INTERFACE=${HTTP_INTERFACE}
|
|||||||
HTTP_PORT=8069
|
HTTP_PORT=8069
|
||||||
DEBUG_PORT=8070
|
DEBUG_PORT=8070
|
||||||
XMLRPCS_PORT=8071
|
XMLRPCS_PORT=8071
|
||||||
GEVENT_PORT=8072
|
LONGPOLLING_PORT=8072
|
||||||
HTTP_ENABLE=True
|
HTTP_ENABLE=True
|
||||||
XMLRPCS=True
|
XMLRPCS=True
|
||||||
PROXY_MODE=True
|
PROXY_MODE=True
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ In essence, Odoocker isn't just another tool, it's a philosophy. So, whether you
|
|||||||
1. **Clone and Configure**:
|
1. **Clone and Configure**:
|
||||||
```
|
```
|
||||||
git clone git@github.com:odoocker/odoocker.git
|
git clone git@github.com:odoocker/odoocker.git
|
||||||
cd odoocker
|
|
||||||
cp .env.example .env && cp docker-compose.override.local.yml docker-compose.override.yml
|
cp .env.example .env && cp docker-compose.override.local.yml docker-compose.override.yml
|
||||||
```
|
```
|
||||||
2. **Hosts & Domains**: To ensure everything runs smoothly, remember to add the necessary domains to your hosts file.
|
2. **Hosts & Domains**: To ensure everything runs smoothly, remember to add the necessary domains to your hosts file.
|
||||||
@@ -156,7 +155,6 @@ docker-compose down
|
|||||||
```
|
```
|
||||||
cp docker-compose.override.production.yml docker-compose.override.yml
|
cp docker-compose.override.production.yml docker-compose.override.yml
|
||||||
```
|
```
|
||||||
- Update .env `SERVICES` (add `acme`) and `ACME_CA_URI` (use production link).
|
|
||||||
- Make sure the DNS record of your `DOMAIN` is pointing to your server.
|
- Make sure the DNS record of your `DOMAIN` is pointing to your server.
|
||||||
- Rebuild the containers
|
- Rebuild the containers
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
location /websocket {
|
location /longpolling {
|
||||||
proxy_pass http://odoo:8072;
|
proxy_pass http://odoo:8072;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
git \
|
git \
|
||||||
git-man \
|
git-man \
|
||||||
less \
|
less \
|
||||||
libcbor0.8 \
|
libcbor0 \
|
||||||
libcurl3-gnutls \
|
libcurl3-gnutls \
|
||||||
libedit2 \
|
libedit2 \
|
||||||
liberror-perl \
|
liberror-perl \
|
||||||
@@ -78,8 +78,10 @@ RUN python3 -m pip install -r /tmp/requirements.txt && \
|
|||||||
# Odoo Enterprise + Third Party Addons #
|
# Odoo Enterprise + Third Party Addons #
|
||||||
#--------------------------------------------#
|
#--------------------------------------------#
|
||||||
# Create third-party-addons directory and clone them
|
# Create third-party-addons directory and clone them
|
||||||
|
RUN mkdir -p ${THIRD_PARTY_ADDONS}
|
||||||
COPY --chown=odoo:odoo ./odoo/clone-addons.sh /
|
COPY --chown=odoo:odoo ./odoo/clone-addons.sh /
|
||||||
COPY --chown=odoo:odoo ./odoo/third-party-addons.txt /
|
COPY --chown=odoo:odoo ./odoo/third-party-addons.txt /
|
||||||
|
# RUN /clone-addons.sh && chown odoo:odoo -R ${THIRD_PARTY_ADDONS}
|
||||||
RUN /clone-addons.sh
|
RUN /clone-addons.sh
|
||||||
|
|
||||||
#-----------------------#
|
#-----------------------#
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ clone_and_copy_modules() {
|
|||||||
|
|
||||||
# Clone and copy logic for enterprise repository
|
# Clone and copy logic for enterprise repository
|
||||||
if [[ $repo_type == "enterprise" ]]; then
|
if [[ $repo_type == "enterprise" ]]; then
|
||||||
if [ -n "$GITHUB_USER" ] && [ -n "$GITHUB_ACCESS_TOKEN" ]; then
|
if [[ ! -d "${ENTERPRISE_ADDONS}" ]] && [ -n "$GITHUB_USER" ] && [ -n "$GITHUB_ACCESS_TOKEN" ]; then
|
||||||
$clone_cmd --depth 1 --branch ${ODOO_TAG} --single-branch --no-tags
|
$clone_cmd --depth 1 --branch ${ODOO_TAG} --single-branch --no-tags
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@@ -84,8 +84,6 @@ expand_env_vars() {
|
|||||||
|
|
||||||
# Read the configuration file and process each line
|
# Read the configuration file and process each line
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
mkdir -p ${ENTERPRISE_ADDONS}
|
|
||||||
mkdir -p ${THIRD_PARTY_ADDONS}
|
|
||||||
[[ -z "$line" || "$line" == \#* ]] && continue
|
[[ -z "$line" || "$line" == \#* ]] && continue
|
||||||
clone_and_copy_modules $(expand_env_vars "$line")
|
clone_and_copy_modules $(expand_env_vars "$line")
|
||||||
done < "third-party-addons.txt"
|
done < "third-party-addons.txt"
|
||||||
|
|||||||
@@ -64,8 +64,8 @@ xmlrpcs_interface = ${XMLRPCS_INTERFACE}
|
|||||||
; --xmlrpcs-port
|
; --xmlrpcs-port
|
||||||
xmlrpcs_port = ${XMLRPCS_PORT}
|
xmlrpcs_port = ${XMLRPCS_PORT}
|
||||||
|
|
||||||
; --gevent-port
|
; --longpolling-port
|
||||||
gevent_port = ${GEVENT_PORT}
|
longpolling_port = ${LONGPOLLING_PORT}
|
||||||
|
|
||||||
; --no-http | --no-xmlrpc
|
; --no-http | --no-xmlrpc
|
||||||
http_enable = ${HTTP_ENABLE}
|
http_enable = ${HTTP_ENABLE}
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
|
jinja2
|
||||||
|
sortedcontainers
|
||||||
debugpy
|
debugpy
|
||||||
websocket-client
|
websocket-client
|
||||||
redis
|
redis
|
||||||
boto3
|
boto3
|
||||||
sentry-sdk==1.9.0 # Fixed because Odoo depends on urllib3==1.26.5
|
sentry-sdk==1.9.0 # Fixed because Odoo depends on urllib3==1.26.5
|
||||||
|
aiohttp
|
||||||
|
|||||||
Reference in New Issue
Block a user