mirror of
https://github.com/odoocker/odoocker
synced 2025-11-05 07:39:23 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f55d789c9 | ||
|
|
9a49d0a425 | ||
|
|
0b31913315 |
53
.env.example
53
.env.example
@@ -22,7 +22,6 @@ USE_REDIS=false
|
|||||||
USE_S3=false
|
USE_S3=false
|
||||||
USE_SENTRY=false
|
USE_SENTRY=false
|
||||||
USE_PGADMIN=false
|
USE_PGADMIN=false
|
||||||
USE_PGBOUNCER=false
|
|
||||||
|
|
||||||
# GitHub user and access token to clone private repositories
|
# GitHub user and access token to clone private repositories
|
||||||
GITHUB_USER=
|
GITHUB_USER=
|
||||||
@@ -47,11 +46,6 @@ UNACCENT=False
|
|||||||
LIST_DB=True
|
LIST_DB=True
|
||||||
DBFILTER=.*
|
DBFILTER=.*
|
||||||
|
|
||||||
# PgBouncer
|
|
||||||
POOL_MODE=transaction
|
|
||||||
MAX_CLIENT_CONN=500
|
|
||||||
ADMIN_USERS=postgres,odoo
|
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
LOG_LEVEL=info
|
LOG_LEVEL=info
|
||||||
# Additional logs
|
# Additional logs
|
||||||
@@ -109,7 +103,7 @@ S3_VIRTUAL_HOST=s3.odoocker.test
|
|||||||
S3_API_PORT=9000
|
S3_API_PORT=9000
|
||||||
S3_CONSOLE_PORT=9001
|
S3_CONSOLE_PORT=9001
|
||||||
|
|
||||||
AWS_HOST=http://minio:${S3_API_PORT}
|
AWS_HOST=http://s3:${S3_API_PORT}
|
||||||
AWS_REGION=
|
AWS_REGION=
|
||||||
AWS_ACCESS_KEY_ID=myaccesskey
|
AWS_ACCESS_KEY_ID=myaccesskey
|
||||||
AWS_SECRET_ACCESS_KEY=mysecretkey
|
AWS_SECRET_ACCESS_KEY=mysecretkey
|
||||||
@@ -141,7 +135,6 @@ USE_REDIS=${USE_REDIS}
|
|||||||
USE_S3=${USE_S3}
|
USE_S3=${USE_S3}
|
||||||
USE_SENTRY=${USE_SENTRY}
|
USE_SENTRY=${USE_SENTRY}
|
||||||
USE_PGADMIN=${USE_PGADMIN}
|
USE_PGADMIN=${USE_PGADMIN}
|
||||||
USE_PGBOUNCER=${USE_PGBOUNCER}
|
|
||||||
|
|
||||||
# Which services are going to be brought up
|
# Which services are going to be brought up
|
||||||
COMPOSE_PROFILES=${SERVICES}
|
COMPOSE_PROFILES=${SERVICES}
|
||||||
@@ -151,24 +144,20 @@ ODOO_PROFILES="odoo"
|
|||||||
POSTGRES_PROFILES="postgres"
|
POSTGRES_PROFILES="postgres"
|
||||||
NGINX_PROFILES="nginx"
|
NGINX_PROFILES="nginx"
|
||||||
NGINX_PROXY_PROFILES="proxy"
|
NGINX_PROXY_PROFILES="proxy"
|
||||||
TRAEFIK_PROFILES="traefik"
|
|
||||||
ACME_COMPANION_PROFILES="acme"
|
ACME_COMPANION_PROFILES="acme"
|
||||||
KEYDB_PROFILES="keydb"
|
KEYDB_PROFILES="keydb"
|
||||||
MINIO_PROFILES="minio"
|
MINIO_PROFILES="minio"
|
||||||
PGADMIN_PROFILES="pgadmin"
|
PGADMIN_PROFILES="pgadmin"
|
||||||
PGBOUNCER_PROFILES="pgbouncer"
|
|
||||||
|
|
||||||
# Containers' Tags
|
# Containers' Tags
|
||||||
ODOO_TAG=17.0
|
ODOO_TAG=17.0
|
||||||
POSTGRES_TAG=16.1
|
POSTGRES_TAG=16.4
|
||||||
PGBOUNCER_TAG=latest
|
|
||||||
KEYDB_TAG=latest
|
KEYDB_TAG=latest
|
||||||
MINIO_TAG=latest
|
MINIO_TAG=latest
|
||||||
NGINX_TAG=1.25.3
|
NGINX_TAG=1.25.3
|
||||||
NGINX_PROXY_TAG=1.4.0
|
NGINX_PROXY_TAG=1.4.0
|
||||||
TRAEFIK_TAG=2.11
|
ACME_COMPANION_TAG=2.2.9
|
||||||
ACME_COMPANION_TAG=2.2.10
|
PGADMIN_TAG=8.11
|
||||||
PGADMIN_TAG=8.2
|
|
||||||
|
|
||||||
# Odoocker paths
|
# Odoocker paths
|
||||||
COMMUNITY_ADDONS=${ROOT_PATH}/addons
|
COMMUNITY_ADDONS=${ROOT_PATH}/addons
|
||||||
@@ -324,40 +313,6 @@ POSTGRES_USER=${POSTGRES_MAIN_USER}
|
|||||||
POSTGRES_PASSWORD=${POSTGRES_MAIN_PASSWORD}
|
POSTGRES_PASSWORD=${POSTGRES_MAIN_PASSWORD}
|
||||||
PGDATA=/var/lib/postgresql/data/${PROJECT_NAME}
|
PGDATA=/var/lib/postgresql/data/${PROJECT_NAME}
|
||||||
|
|
||||||
#---------------#
|
|
||||||
# Traefik #
|
|
||||||
#---------------#
|
|
||||||
# Volumes
|
|
||||||
ACME_JSON=/acme.json
|
|
||||||
TRAEFIK_LOGS=/var/log/traefik
|
|
||||||
|
|
||||||
# Command
|
|
||||||
API_DASHBOARD=true
|
|
||||||
API_INSECURE=true
|
|
||||||
API_DEBUG=false
|
|
||||||
ENTRYPOINTS_WEB_ADDRESS=:80
|
|
||||||
ENTRYPOINTS_WEBSECURE_ADDRESS=:443
|
|
||||||
TRAEFIK_LOG_LEVEL=INFO
|
|
||||||
ACCESSLOG_FILEPATH=${TRAEFIK_LOGS}/access.log
|
|
||||||
ACME_HTTPCHALLENGE=true
|
|
||||||
ACME_HTTPCHALLENGE_ENTRYPOINT=web
|
|
||||||
ACME_EMAIL=mail@example.com
|
|
||||||
ACME_STORAGE=${ACME_JSON}
|
|
||||||
# For prod use: https://acme-v02.api.letsencrypt.org/directory
|
|
||||||
ACME_CASERVER=https://acme-staging-v02.api.letsencrypt.org/directory
|
|
||||||
INSERCURE_SKIP_VERIFY=true
|
|
||||||
|
|
||||||
# Labels
|
|
||||||
TRAEFIK_ENABLE=true
|
|
||||||
HTTP_CATCHALL_ENTRYPOINTS=web
|
|
||||||
HTTP_CATCHALL_MIDDLEWARES=redirect-to-https
|
|
||||||
MIDDLEWARES_REDIRECT_SCHEME=https
|
|
||||||
|
|
||||||
TRAEFIK_DASHBOARD_DOMAIN=traefik.odoocker.test
|
|
||||||
TRAEFIK_DASHBOARD_ENTRYPOINTS=websecure
|
|
||||||
TRAEFIK_DASHBOARD_TLS_CERTRESOLVER=leresolver
|
|
||||||
TRAEFIK_DASHBOARD_SERVICE=api@internal
|
|
||||||
|
|
||||||
#-------------#
|
#-------------#
|
||||||
# Nginx #
|
# Nginx #
|
||||||
#-------------#
|
#-------------#
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -10,4 +10,5 @@ docker-compose.override.yml
|
|||||||
# Ignores any __pycache__ folder.
|
# Ignores any __pycache__ folder.
|
||||||
__pycache__
|
__pycache__
|
||||||
|
|
||||||
|
# Ignores upgrade files
|
||||||
upgrade/
|
upgrade/
|
||||||
|
|||||||
@@ -12,11 +12,6 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
pgbouncer:
|
|
||||||
restart: 'no'
|
|
||||||
expose:
|
|
||||||
- 5432/tcp
|
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
restart: 'no'
|
restart: 'no'
|
||||||
|
|
||||||
@@ -26,19 +21,13 @@ services:
|
|||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
|
|
||||||
traefik:
|
letsencrypt:
|
||||||
restart: 'no'
|
|
||||||
ports:
|
|
||||||
- 80:80
|
|
||||||
- 443:443
|
|
||||||
|
|
||||||
acme-companion:
|
|
||||||
restart: 'no'
|
restart: 'no'
|
||||||
|
|
||||||
keydb:
|
redis:
|
||||||
restart: 'no'
|
restart: 'no'
|
||||||
|
|
||||||
minio:
|
s3:
|
||||||
restart: 'no'
|
restart: 'no'
|
||||||
|
|
||||||
pgadmin:
|
pgadmin:
|
||||||
|
|||||||
@@ -12,11 +12,6 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:5432:5432
|
- 127.0.0.1:5432:5432
|
||||||
|
|
||||||
pgbouncer:
|
|
||||||
restart: unless-stopped
|
|
||||||
expose:
|
|
||||||
- 5432/tcp
|
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
@@ -26,31 +21,13 @@ services:
|
|||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
|
|
||||||
traefik:
|
letsencrypt:
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
|
||||||
- 80:80
|
|
||||||
- 443:443
|
|
||||||
command:
|
|
||||||
- --entrypoints.websecure.address=${ENTRYPOINTS_WEBSECURE_ADDRESS}
|
|
||||||
- --certificatesresolvers.leresolver.acme.httpchallenge=${ACME_HTTPCHALLENGE}
|
|
||||||
- --certificatesresolvers.leresolver.acme.httpchallenge.entrypoint=${ACME_HTTPCHALLENGE_ENTRYPOINT}
|
|
||||||
- --certificatesresolvers.leresolver.acme.email=${ACME_EMAIL}
|
|
||||||
- --certificatesresolvers.leresolver.acme.storage=${ACME_STORAGE}
|
|
||||||
- --certificatesresolvers.leresolver.acme.caserver=${ACME_CASERVER}
|
|
||||||
labels:
|
|
||||||
- traefik.http.routers.http-catchall.middlewares=${HTTP_CATCHALL_MIDDLEWARES}
|
|
||||||
- traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=${MIDDLEWARES_REDIRECT_SCHEME}
|
|
||||||
- traefik.http.routers.traefik-dashboard.entrypoints=${TRAEFIK_DASHBOARD_ENTRYPOINTS}
|
|
||||||
- traefik.http.routers.traefik-dashboard.tls.certresolver=${TRAEFIK_DASHBOARD_TLS_CERTRESOLVER}
|
|
||||||
|
|
||||||
acme-companion:
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
keydb:
|
redis:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
minio:
|
s3:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
pgadmin:
|
pgadmin:
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
services:
|
services:
|
||||||
odoo:
|
odoo:
|
||||||
container_name: odoo
|
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: ./odoo/Dockerfile
|
dockerfile: ./odoo/Dockerfile
|
||||||
@@ -19,7 +18,6 @@ services:
|
|||||||
- USE_S3
|
- USE_S3
|
||||||
- USE_SENTRY
|
- USE_SENTRY
|
||||||
tty: true
|
tty: true
|
||||||
shm_size: 1gb
|
|
||||||
volumes:
|
volumes:
|
||||||
- odoo-data:${DATA_DIR}
|
- odoo-data:${DATA_DIR}
|
||||||
- ./odoo/extra-addons:${EXTRA_ADDONS}
|
- ./odoo/extra-addons:${EXTRA_ADDONS}
|
||||||
@@ -57,14 +55,12 @@ services:
|
|||||||
profiles: [$ODOO_PROFILES]
|
profiles: [$ODOO_PROFILES]
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
container_name: postgres
|
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: ./postgres/Dockerfile
|
dockerfile: ./postgres/Dockerfile
|
||||||
args:
|
args:
|
||||||
- POSTGRES_TAG
|
- POSTGRES_TAG
|
||||||
tty: true
|
tty: true
|
||||||
shm_size: 1gb
|
|
||||||
volumes:
|
volumes:
|
||||||
- pg-data:${PGDATA}
|
- pg-data:${PGDATA}
|
||||||
- ./postgres/entrypoint.sh:/docker-entrypoint-initdb.d/entrypoint.sh
|
- ./postgres/entrypoint.sh:/docker-entrypoint-initdb.d/entrypoint.sh
|
||||||
@@ -83,30 +79,13 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
profiles: [$POSTGRES_PROFILES]
|
profiles: [$POSTGRES_PROFILES]
|
||||||
|
|
||||||
pgbouncer:
|
|
||||||
image: edoburu/pgbouncer:latest
|
|
||||||
container_name: pgbouncer
|
|
||||||
restart: always
|
|
||||||
depends_on:
|
|
||||||
- postgres
|
|
||||||
environment:
|
|
||||||
- DB_HOST=${DB_HOST}
|
|
||||||
- DB_USER=${DB_USER}
|
|
||||||
- DB_PASSWORD=${DB_PASSWORD}
|
|
||||||
- MAX_CLIENT_CONN=${MAX_CLIENT_CONN}
|
|
||||||
- POOL_MODE=${POOL_MODE}
|
|
||||||
- ADMIN_USERS=${ADMIN_USERS}
|
|
||||||
profiles: [$PGBOUNCER_PROFILES]
|
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
container_name: nginx
|
|
||||||
image: nginx:${NGINX_TAG}
|
image: nginx:${NGINX_TAG}
|
||||||
depends_on:
|
depends_on:
|
||||||
- odoo
|
- odoo
|
||||||
tty: true
|
tty: true
|
||||||
expose:
|
expose:
|
||||||
- 80/tcp
|
- 80/tcp
|
||||||
shm_size: 1gb
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/nginx.conf:${NGINX_CONF}
|
- ./nginx/nginx.conf:${NGINX_CONF}
|
||||||
- ./nginx/default.conf:${NGINX_DEFAULT_CONF}
|
- ./nginx/default.conf:${NGINX_DEFAULT_CONF}
|
||||||
@@ -120,12 +99,10 @@ services:
|
|||||||
profiles: [$NGINX_PROFILES]
|
profiles: [$NGINX_PROFILES]
|
||||||
|
|
||||||
nginx-proxy:
|
nginx-proxy:
|
||||||
container_name: nginx-proxy
|
|
||||||
image: nginxproxy/nginx-proxy:${NGINX_PROXY_TAG}
|
image: nginxproxy/nginx-proxy:${NGINX_PROXY_TAG}
|
||||||
depends_on:
|
depends_on:
|
||||||
- nginx
|
- nginx
|
||||||
tty: true
|
tty: true
|
||||||
shm_size: 1gb
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx-proxy/nginx.conf:${NGINX_CONF}
|
- ./nginx-proxy/nginx.conf:${NGINX_CONF}
|
||||||
- ./nginx-proxy/cors.conf:${NGINX_PROXY_CORS_CONF}
|
- ./nginx-proxy/cors.conf:${NGINX_PROXY_CORS_CONF}
|
||||||
@@ -140,38 +117,7 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
profiles: [$NGINX_PROXY_PROFILES]
|
profiles: [$NGINX_PROXY_PROFILES]
|
||||||
|
|
||||||
traefik:
|
letsencrypt:
|
||||||
container_name: traefik
|
|
||||||
image: "traefik:${TRAEFIK_TAG}"
|
|
||||||
networks:
|
|
||||||
- internal
|
|
||||||
command:
|
|
||||||
- --api.dashboard=${API_DASHBOARD}
|
|
||||||
- --api.insecure=${API_INSECURE}
|
|
||||||
- --api.debug=${API_DEBUG}
|
|
||||||
- --entrypoints.web.address=${ENTRYPOINTS_WEB_ADDRESS}
|
|
||||||
- --providers.docker
|
|
||||||
- --log.level=${TRAEFIK_LOG_LEVEL}
|
|
||||||
- --accesslog.filepath=${ACCESSLOG_FILEPATH}
|
|
||||||
- --serversTransport.insecureSkipVerify=${INSERCURE_SKIP_VERIFY}
|
|
||||||
tty: true
|
|
||||||
shm_size: 1gb
|
|
||||||
volumes:
|
|
||||||
- ${DOCKER_SOCK}:${DOCKER_SOCK}:ro
|
|
||||||
- ./acme.json:${ACME_JSON}
|
|
||||||
- traefik_logs:${TRAEFIK_LOGS}
|
|
||||||
labels:
|
|
||||||
- traefik.enable=${TRAEFIK_ENABLE}
|
|
||||||
# Catch all HTTP trafic and redirect it to HTTPS
|
|
||||||
- traefik.http.routers.http-catchall.rule=hostregexp(`{host:.+}`)
|
|
||||||
- traefik.http.routers.http-catchall.entrypoints=${HTTP_CATCHALL_ENTRYPOINTS}
|
|
||||||
# Traefik Dashboard route
|
|
||||||
- traefik.http.routers.traefik-dashboard.rule=Host(`${TRAEFIK_DASHBOARD_DOMAIN}`)
|
|
||||||
- traefik.http.routers.traefik-dashboard.service=${TRAEFIK_DASHBOARD_SERVICE}
|
|
||||||
profiles: [$TRAEFIK_PROFILES]
|
|
||||||
|
|
||||||
acme-companion:
|
|
||||||
container_name: acme-companion
|
|
||||||
image: nginxproxy/acme-companion:${ACME_COMPANION_TAG}
|
image: nginxproxy/acme-companion:${ACME_COMPANION_TAG}
|
||||||
depends_on:
|
depends_on:
|
||||||
- nginx-proxy
|
- nginx-proxy
|
||||||
@@ -189,8 +135,7 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
profiles: [$ACME_COMPANION_PROFILES]
|
profiles: [$ACME_COMPANION_PROFILES]
|
||||||
|
|
||||||
keydb:
|
redis:
|
||||||
container_name: keydb
|
|
||||||
image: eqalpha/keydb:${KEYDB_TAG}
|
image: eqalpha/keydb:${KEYDB_TAG}
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
ports:
|
ports:
|
||||||
@@ -201,8 +146,7 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
profiles: [$KEYDB_PROFILES]
|
profiles: [$KEYDB_PROFILES]
|
||||||
|
|
||||||
minio:
|
s3:
|
||||||
container_name: minio
|
|
||||||
image: minio/minio:${MINIO_TAG}
|
image: minio/minio:${MINIO_TAG}
|
||||||
environment:
|
environment:
|
||||||
- MINIO_ROOT_USER
|
- MINIO_ROOT_USER
|
||||||
@@ -211,7 +155,6 @@ services:
|
|||||||
- VIRTUAL_HOST=${MINIO_VIRTUAL_HOST}
|
- VIRTUAL_HOST=${MINIO_VIRTUAL_HOST}
|
||||||
- VIRTUAL_PORT=${MINIO_CONSOLE_PORT}
|
- VIRTUAL_PORT=${MINIO_CONSOLE_PORT}
|
||||||
command: server ${MINIO_DATA} --console-address ":${MINIO_CONSOLE_PORT}"
|
command: server ${MINIO_DATA} --console-address ":${MINIO_CONSOLE_PORT}"
|
||||||
shm_size: 1gb
|
|
||||||
volumes:
|
volumes:
|
||||||
- s3-data:${MINIO_DATA}
|
- s3-data:${MINIO_DATA}
|
||||||
ports:
|
ports:
|
||||||
@@ -222,7 +165,6 @@ services:
|
|||||||
profiles: [$MINIO_PROFILES]
|
profiles: [$MINIO_PROFILES]
|
||||||
|
|
||||||
pgadmin:
|
pgadmin:
|
||||||
container_name: pgadmin
|
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: ./pgadmin/Dockerfile
|
dockerfile: ./pgadmin/Dockerfile
|
||||||
@@ -232,7 +174,6 @@ services:
|
|||||||
- nginx-proxy
|
- nginx-proxy
|
||||||
expose:
|
expose:
|
||||||
- 80
|
- 80
|
||||||
shm_size: 1gb
|
|
||||||
volumes:
|
volumes:
|
||||||
- pgadmin-data:${PGADMIN_DATA}
|
- pgadmin-data:${PGADMIN_DATA}
|
||||||
environment:
|
environment:
|
||||||
@@ -275,7 +216,6 @@ volumes:
|
|||||||
vhost:
|
vhost:
|
||||||
certs:
|
certs:
|
||||||
acme:
|
acme:
|
||||||
traefik_logs:
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
#------------------------#
|
#------------------------#
|
||||||
# Odoo Community #
|
# Odoo Community #
|
||||||
#------------------------#
|
#------------------------#
|
||||||
ARG ODOO_TAG
|
FROM odoo:17.0
|
||||||
FROM odoo:${ODOO_TAG}
|
|
||||||
|
|
||||||
# Switch to root user
|
# Switch to root user
|
||||||
USER root
|
USER root
|
||||||
@@ -49,6 +48,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
# `zip` and `unzip` for filestore management
|
# `zip` and `unzip` for filestore management
|
||||||
zip \
|
zip \
|
||||||
unzip \
|
unzip \
|
||||||
|
rsync \
|
||||||
# `git` required packages
|
# `git` required packages
|
||||||
git \
|
git \
|
||||||
git-man \
|
git-man \
|
||||||
|
|||||||
@@ -82,6 +82,8 @@ expand_env_vars() {
|
|||||||
done <<< "$1"
|
done <<< "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mkdir -p ${THIRD_PARTY_ADDONS}
|
||||||
|
|
||||||
# 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 ${ENTERPRISE_ADDONS}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
Goes Here
|
Goes Here
|
||||||
''',
|
''',
|
||||||
'version': '1.0.0', # (X.Y.Z.W) X: Odoo Version (not present), Y: Major Upgrade, Z: Bugfix, W: Minor Upgrade
|
'version': '1.0.0', # (X.Y.Z.W) X: Odoo Version (not present), Y: Major Upgrade, Z: Bugfix, W: Minor Upgrade
|
||||||
'category': 'Uncategorized', # Possible values: [https://github.com/odoo/odoo/blob/16.0/odoo/addons/base/data/ir_module_category_data.xml]
|
'category': 'Uncategorized', # Possible values: [https://github.com/odoo/odoo/blob/17.0/odoo/addons/base/data/ir_module_category_data.xml]
|
||||||
'license': 'LGPL-3',
|
'license': 'LGPL-3',
|
||||||
'sequence': 100, # Order in which the module will be displayed
|
'sequence': 100, # Order in which the module will be displayed
|
||||||
# Author, Pricing, Licensing, and Support Info
|
# Author, Pricing, Licensing, and Support Info
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
debugpy==1.8.0
|
debugpy
|
||||||
websocket-client==1.7.0
|
websocket-client
|
||||||
redis==5.0.1
|
redis
|
||||||
boto3==1.34.23
|
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
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
|
|
||||||
CREATE USER dbuser WITH ENCRYPTED PASSWORD 'dbuser';
|
|
||||||
CREATE DATABASE dbuser OWNER dbuser;
|
|
||||||
|
|
||||||
CREATE USER user1 WITH ENCRYPTED PASSWORD 'user1';
|
|
||||||
CREATE DATABASE user1 OWNER user1;
|
|
||||||
|
|
||||||
CREATE USER user2 WITH ENCRYPTED PASSWORD 'user2';
|
|
||||||
CREATE DATABASE user2 OWNER user2;
|
|
||||||
|
|
||||||
CREATE USER user3 WITH ENCRYPTED PASSWORD 'user3';
|
|
||||||
CREATE DATABASE user3 OWNER user3;
|
|
||||||
|
|
||||||
CREATE USER odoo WITH ENCRYPTED PASSWORD 'odoo';
|
|
||||||
CREATE DATABASE odoo OWNER odoo;
|
|
||||||
|
|
||||||
EOSQL
|
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
ARG POSTGRES_TAG
|
FROM postgres:16.4
|
||||||
FROM postgres:${POSTGRES_TAG}
|
|
||||||
|
|
||||||
#------------------------#
|
#------------------------#
|
||||||
# APT Dependencies #
|
# APT Dependencies #
|
||||||
|
|||||||
Reference in New Issue
Block a user