162 lines
4.8 KiB
Plaintext
162 lines
4.8 KiB
Plaintext
name: odoo-build
|
|
services:
|
|
odoo:
|
|
container_name: odoo
|
|
image: "${CONTAINER_REGISTRY}/${CONTAINER_TAG}"
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
environment:
|
|
HOST: db
|
|
USER: odoo
|
|
PASSWORD: odoo
|
|
PORT: 5432
|
|
PGHOST: db
|
|
PGUSER: odoo
|
|
PGPASSWORD: odoo
|
|
PGPORT: 5432
|
|
DB_NAME: "${DB_NAME}"
|
|
DB_MAXCONN: ${DB_MAXCONN}
|
|
PGSSLMODE: ${PGSSLMODE}
|
|
PGSSLROOTCERT: "/mnt/postgres-odoo/ca.crt"
|
|
SMTP_SERVER: ${SMTP_SERVER}
|
|
SMTP_PORT: ${SMTP_PORT}
|
|
SMTP_SSL: ${SMTP_SSL}
|
|
SMTP_USER: ${SMTP_USER}
|
|
SMTP_PASSWORD: ${SMTP_PASSWORD}
|
|
EMAIL_FROM: ${EMAIL_FROM}
|