-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprod.yaml
48 lines (43 loc) · 917 Bytes
/
prod.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
39
40
41
42
43
44
45
46
47
48
version: "2.4"
services:
odoo:
extends:
file: common.yaml
service: odoo
restart: unless-stopped
env_file:
- .docker/odoo.env
- .docker/db-access.env
environment:
DB_FILTER: "^prod"
DOODBA_ENVIRONMENT: "${DOODBA_ENVIRONMENT-prod}"
INITIAL_LANG: "pt_BR"
depends_on:
- db
networks:
default:
labels:
doodba.domain.main: ""
db:
extends:
file: common.yaml
service: db
env_file:
- .docker/db-creation.env
restart: unless-stopped
networks:
default:
inverseproxy_shared:
labels:
traefik.enable: "true"
traefik.docker.network: "inverseproxy_shared"
traefik.tcp.services.myproject-odoo-14-0-prod-database.loadbalancer.server.port: 5432
networks:
default:
driver_opts:
encrypted: 1
inverseproxy_shared:
external: true
volumes:
filestore:
db: