-
Notifications
You must be signed in to change notification settings - Fork 4
/
common.yaml
38 lines (35 loc) · 884 Bytes
/
common.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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: "true"
tty: true
volumes:
- filestore:/var/lib/odoo:z
labels:
traefik.backend.buffering.retryExpression: IsNetworkError() && Attempts() < 5
traefik.docker.network: "inverseproxy_shared"
traefik.frontend.passHostHeader: "true"
traefik.port: "8069"
db:
image: ghcr.io/tecnativa/postgres-autoconf:13-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