You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
664 B
33 lines
664 B
version: "2.4"
|
|
|
|
services:
|
|
odoo:
|
|
build:
|
|
context: ./odoo
|
|
args:
|
|
ODOO_VERSION: "14.0"
|
|
UID: "${UID:-1000}"
|
|
GID: "${GID:-1000}"
|
|
environment:
|
|
EMAIL_FROM: ""
|
|
PGDATABASE: &dbname prod
|
|
PGUSER: &dbuser "odoo"
|
|
DB_FILTER: ".*"
|
|
PROXY_MODE: "false"
|
|
tty: true
|
|
volumes:
|
|
- filestore:/var/lib/odoo:z
|
|
|
|
db:
|
|
image: ghcr.io/tecnativa/postgres-autoconf:10-alpine
|
|
shm_size: 512mb
|
|
environment:
|
|
POSTGRES_DB: *dbname
|
|
POSTGRES_USER: *dbuser
|
|
CONF_EXTRA: |
|
|
work_mem = 512MB
|
|
volumes:
|
|
- db:/var/lib/postgresql/data:z
|
|
|
|
smtpfake:
|
|
image: mailhog/mailhog
|