odoo_clicks2cart/docker-compose.yml
2026-03-02 21:31:24 +05:30

40 lines
790 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
db:
image: postgres:15
container_name: odoo_client2_db
environment:
POSTGRES_DB: postgres
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
volumes:
- client2_pgdata:/var/lib/postgresql/data
restart: always
odoo:
image: odoo:17.0
container_name: odoo_client2
depends_on:
- db
ports:
- "10002:8069"
environment:
HOST: db
USER: odoo
PASSWORD: odoo
LIST_DB: "True"
volumes:
- client2_odoo_data:/var/lib/odoo
- ./addons:/mnt/extra-addons
restart: always
volumes:
client2_pgdata:
client2_odoo_data:
# backups:
# .\backup_db.ps1
# Team Members Restore
# cat d:\Odoo\backups\YOUR_BACKUP_FILE.sql | docker exec -i odoo_client2_db psql -U odoo -d postgres