feat: restart always

This commit is contained in:
ange 2025-05-23 04:47:53 +00:00
parent 9cf4cf160e
commit db954e2557
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -2,6 +2,7 @@
services: services:
odoo: odoo:
image: docker.io/odoo:18 image: docker.io/odoo:18
restart: always
ports: ports:
- "8000:8069" - "8000:8069"
volumes: volumes:
@ -11,6 +12,7 @@ services:
db: db:
image: docker.io/postgres:17 image: docker.io/postgres:17
restart: always
environment: environment:
- POSTGRES_DB=postgres - POSTGRES_DB=postgres
- POSTGRES_USER=odoo - POSTGRES_USER=odoo