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
671 B

version: "2.4"
services:
odoo:
build:
context: ./odoo
args:
ODOO_VERSION: "15.0"
UID: "${UID:-1000}"
GID: "${GID:-1000}"
environment:
EMAIL_FROM: ""
PGDATABASE: &dbname prod
PGUSER: &dbuser "odoo"
PROXY_MODE: "true"
LIST_DB: "true"
tty: true
volumes:
- filestore:/var/lib/odoo:z
db:
image: ghcr.io/tecnativa/postgres-autoconf:10-alpine
shm_size: 4gb
environment:
POSTGRES_DB: *dbname
POSTGRES_USER: *dbuser
CONF_EXTRA: |
work_mem = 512MB
volumes:
- db:/var/lib/postgresql/data:z
smtpfake:
image: docker.io/mailhog/mailhog