19 Commits
16.0 ... main

Author SHA1 Message Date
Yhael S
53f235a619 Merge pull request #22 from norlinhenrik/main-readme-prod-env
[IMP] README.md: production: Update .env SERVICES and ACME_CA_URI
2024-07-15 21:54:19 -06:00
Henrik Norlin
4f1132afef [IMP] README.md: Quick Setup Guide: cd odoocker 2024-06-02 12:17:02 +02:00
Henrik Norlin
faa6cf6b4c [IMP] README.md: production: Update .env SERVICES and ACME_CA_URI 2024-06-02 11:19:08 +02:00
yhaelopez
7568dbc44f cleanup 2023-12-24 12:55:39 -07:00
yhaelopez
77edc03b91 refactored enterprise + third party addons clonning process 2023-12-24 12:22:16 -07:00
yhaelopez
6fd07e113a cleanup 2023-12-19 21:04:12 -07:00
yhaelopez
bf51474d47 cleanup 2023-12-19 19:37:24 -07:00
yhaelopez
137e653d7f fixed pgadmin 2023-12-19 03:01:15 -07:00
yhaelopez
f2be28ff3e upgrade: third party public and private addons are now dynamically cloned and extensible with a handy format 2023-12-19 02:17:56 -07:00
yhaelopez
f9a6d5c1ab fixed urllib3 to 1.26.5 2023-12-18 17:15:10 -07:00
yhaelopez
d3e819b4b6 cleanup 2023-12-18 17:01:04 -07:00
yhaelopez
1a191383fa cleanup 2023-12-18 16:51:49 -07:00
yhaelopez
f29066cc16 cleanup 2023-12-18 16:50:26 -07:00
yhaelopez
649c51cc9c Merge branch '17.0' 2023-12-15 17:37:01 -07:00
yhaelopez
ecac58a89e cleanup 2023-12-15 17:21:02 -07:00
yhaelopez
c677cdd69e cleanup 2023-12-15 17:00:05 -07:00
yhaelopez
fa93ecd4f4 cleanup 2023-12-15 16:58:19 -07:00
yhaelopez
2076c8ddfa upgrade 2023-12-15 16:55:25 -07:00
yhaelopez
98b94b6f86 version 17 first release 2023-12-12 21:40:17 -07:00
5 changed files with 8 additions and 6 deletions

View File

@@ -150,7 +150,7 @@ MINIO_PROFILES="minio"
PGADMIN_PROFILES="pgadmin"
# Containers' Tags
ODOO_TAG=16.0
ODOO_TAG=17.0
POSTGRES_TAG=16.1
KEYDB_TAG=latest
MINIO_TAG=latest

View File

@@ -43,6 +43,7 @@ In essence, Odoocker isn't just another tool, it's a philosophy. So, whether you
1. **Clone and Configure**:
```
git clone git@github.com:odoocker/odoocker.git
cd odoocker
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.
@@ -155,6 +156,7 @@ docker-compose down
```
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.
- Rebuild the containers
```

View File

@@ -53,7 +53,7 @@ RUN apt-get update && apt-get install -y \
git \
git-man \
less \
libcbor0 \
libcbor0.8 \
libcurl3-gnutls \
libedit2 \
liberror-perl \
@@ -78,10 +78,8 @@ RUN python3 -m pip install -r /tmp/requirements.txt && \
# Odoo Enterprise + Third Party Addons #
#--------------------------------------------#
# 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/third-party-addons.txt /
# RUN /clone-addons.sh && chown odoo:odoo -R ${THIRD_PARTY_ADDONS}
RUN /clone-addons.sh
#-----------------------#

View File

@@ -25,7 +25,7 @@ clone_and_copy_modules() {
# Clone and copy logic for enterprise repository
if [[ $repo_type == "enterprise" ]]; then
if [[ ! -d "${ENTERPRISE_ADDONS}" ]] && [ -n "$GITHUB_USER" ] && [ -n "$GITHUB_ACCESS_TOKEN" ]; then
if [ -n "$GITHUB_USER" ] && [ -n "$GITHUB_ACCESS_TOKEN" ]; then
$clone_cmd --depth 1 --branch ${ODOO_TAG} --single-branch --no-tags
fi
else
@@ -84,6 +84,8 @@ expand_env_vars() {
# Read the configuration file and process each line
while IFS= read -r line; do
mkdir -p ${ENTERPRISE_ADDONS}
mkdir -p ${THIRD_PARTY_ADDONS}
[[ -z "$line" || "$line" == \#* ]] && continue
clone_and_copy_modules $(expand_env_vars "$line")
done < "third-party-addons.txt"

View File

@@ -64,7 +64,7 @@ xmlrpcs_interface = ${XMLRPCS_INTERFACE}
; --xmlrpcs-port
xmlrpcs_port = ${XMLRPCS_PORT}
; --gevent-port | --longpolling-port (deprecated)
; --gevent-port
gevent_port = ${GEVENT_PORT}
; --no-http | --no-xmlrpc