Include full contents of all nested repositories
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
55
letsbe-ansible-runner/stacks/odoo/docker-compose.yml
Normal file
55
letsbe-ansible-runner/stacks/odoo/docker-compose.yml
Normal file
@@ -0,0 +1,55 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
odoo-web:
|
||||
container_name: {{ customer }}-odoo-web
|
||||
restart: always
|
||||
image: odoo:latest
|
||||
labels:
|
||||
- "diun.enable=true"
|
||||
depends_on:
|
||||
- odoo-postgres
|
||||
ports:
|
||||
- "127.0.0.1:3019:8069"
|
||||
environment:
|
||||
- HOST=odoo-postgres
|
||||
- USER={{ odoo_postgres_user }}
|
||||
- PASSWORD={{ odoo_postgres_password }}
|
||||
volumes:
|
||||
- {{ customer }}-odoo-web-data:/var/lib/odoo
|
||||
- {{ customer }}-odoo-web-config:/etc/odoo
|
||||
- {{ customer }}-odoo-web-addons:/mnt/extra-addons
|
||||
- {{ customer }}-odoo-backups:/tmp/backups
|
||||
networks:
|
||||
{{ customer }}-odoo:
|
||||
ipv4_address: 172.20.19.2
|
||||
|
||||
odoo-postgres:
|
||||
container_name: {{ customer }}-odoo-postgres
|
||||
image: postgres:15
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_DB: postgres
|
||||
POSTGRES_USER: {{ odoo_postgres_user }}
|
||||
POSTGRES_PASSWORD: {{ odoo_postgres_password }}
|
||||
volumes:
|
||||
- {{ customer }}-odoo-postgres:/var/lib/postgresql/data/
|
||||
- {{ customer }}-odoo-backups:/tmp/backups
|
||||
networks:
|
||||
{{ customer }}-odoo:
|
||||
ipv4_address: 172.20.19.3
|
||||
|
||||
networks:
|
||||
{{ customer }}-odoo:
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.20.19.0/28
|
||||
gateway: 172.20.19.1
|
||||
|
||||
volumes:
|
||||
{{ customer }}-odoo-postgres:
|
||||
{{ customer }}-odoo-web-data:
|
||||
{{ customer }}-odoo-web-config:
|
||||
{{ customer }}-odoo-web-addons:
|
||||
{{ customer }}-odoo-backups:
|
||||
Reference in New Issue
Block a user