forked from odoo/docker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
39 lines (38 loc) · 1.1 KB
/
docker-compose.yml
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
services:
odoo:
container_name: odoo18e
image: bmya/odoo-bmya:l18
build:
context: ./docker/18.0
dockerfile: Dockerfile
args:
ARCH: x86_64 # alternative: arm64
command: -- -c /etc/odoo/odoo.conf
stdin_open: true
tty: true
restart: always
networks:
- default
- pg12_default
external_links:
- db12:db
ports:
- "8149:8069"
volumes:
- ../data_odoo:/var/lib/odoo:delegated
- ./odoo:/mnt/odoo:delegated
- ./enterprise:/mnt/enterprise:delegated
- ./design-themes:/mnt/design-themes:delegated
- ./extra-addons:/mnt/extra-addons:delegated
#- ./conf:/etc/odoo
environment:
- DB_PORT_5432_TCP_ADDR=db
- DB_PORT_5432_TCP_PORT=5432
- DB_ENV_POSTGRES_USER=odoo
- DB_ENV_POSTGRES_PASSWORD=odoo
- POSTGRES_DB=postgres
networks:
default:
driver: bridge
pg12_default:
external: true