Actualiser docker-compose.yml
This commit is contained in:
parent
8c6445f67b
commit
ab3c827d64
1 changed files with 13 additions and 14 deletions
|
|
@ -1,9 +1,8 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
odoo-service: # Configuration du container Odoo
|
||||
image: ${ODOO_IMAGE}
|
||||
container_name: odoo-V18-${POSTGRESQL_DB_NAME}
|
||||
container_name: ${ODOO_CONTAINER}
|
||||
restart: unless-stopped
|
||||
user: root
|
||||
depends_on:
|
||||
|
|
@ -17,13 +16,13 @@ services:
|
|||
- ./odoo-logs:/var/log/odoo:z
|
||||
|
||||
postgres: # Configuration de notre service PostgreSQL
|
||||
image: postgres15-${POSTGRESQL_PORT}-image:latest # Image postgres 15 de Docker hub
|
||||
container_name: postgres-${POSTGRESQL_PORT}-${POSTGRESQL_DB_NAME}
|
||||
image: postgres15-${POSTGRESQL_PORT}-image:latest # basé sur Image postgres 15 de Docker hub
|
||||
container_name: ${POSTGRES_CONTAINER}
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_USER=odoo
|
||||
- POSTGRES_PASSWORD=odoo
|
||||
- POSTGRES_DB=postgres
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
volumes:
|
||||
- ./odoo-postgresql-data:/var/lib/postgresql/data:z
|
||||
|
||||
Loading…
Reference in a new issue