Files
mymach_social_nextgen/docker-compose.yml

36 lines
797 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.

version: '3.8'
services:
web:
build: .
container_name: mymach_odoo19
depends_on:
- db
ports:
- "8069:8069" # Odoo Web Arayüzü (http://localhost:8069)
- "8072:8072" # Longpolling / Websocket Portu (Canlı sohbet/bildirimler)
volumes:
- odoo-web-data:/var/lib/odoo
- ./config:/etc/odoo
- ./extra-addons:/mnt/extra-addons
environment:
- HOST=db
- USER=odoo
- PASSWORD=odoo_secret_db_pass
restart: always
db:
image: postgres:16
container_name: mymach_postgres16
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo_secret_db_pass
volumes:
- odoo-db-data:/var/lib/postgresql/data
restart: always
volumes:
odoo-web-data:
odoo-db-data: