compose psql
This commit is contained in:
parent
a0ac1e6a1e
commit
108d4ef91a
23
docker-compose.psql.yml
Normal file
23
docker-compose.psql.yml
Normal file
@ -0,0 +1,23 @@
|
||||
services:
|
||||
odoo:
|
||||
build: .
|
||||
user: "30000:30000"
|
||||
env_file: .env
|
||||
ports:
|
||||
- "8069:8069"
|
||||
restart: always
|
||||
environment:
|
||||
- TZ=Europe/Rome
|
||||
volumes:
|
||||
- ./data:/var/lib/odoo
|
||||
- ./extra-addons:/mnt/extra-addons
|
||||
- ./config/odoo.conf:/etc/odoo/odoo.conf
|
||||
postgres:
|
||||
image: postgres:15
|
||||
env_file: .env
|
||||
volumes:
|
||||
- db:/var/lib/postgresql/data/pgdata
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
db:
|
||||
Loading…
Reference in New Issue
Block a user