-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·48 lines (47 loc) · 1019 Bytes
/
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
40
41
42
43
44
45
46
47
48
version: '2'
services:
odoo15:
image: odoo:15
container_name: odoo-15
user: root
depends_on:
- db
ports:
- "8069:8069"
- "20015:8072"
networks:
- odoo_network
tty: true
command: --
environment:
- HOST=db
- USER=odoo
- PASSWORD=odoo15@2021
volumes:
#- /etc/timezone:/etc/timezone:ro
#- /etc/localtime:/etc/localtime:ro
# - ./entrypoint.sh:/entrypoint.sh
- ./addons:/mnt/extra-addons
- ./etc:/etc/odoo
restart: always
db:
container_name: postgres-odoo
image: postgres:14
user: root
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo15@2021
- POSTGRES_DB=postgres
- PGDATA=/var/lib/postgresql/data/pgdata
restart: always
volumes:
- ./postgresql:/var/lib/postgresql/data/pgdata
ports:
- "6432:5432"
networks:
- odoo_network
networks:
default:
external:
name: bridge
odoo_network: