update
This commit is contained in:
parent
7c42455d44
commit
2ce53ab9d2
@ -3,16 +3,13 @@ services:
|
|||||||
app:
|
app:
|
||||||
image: ${ODOO_IMAGE:-odoo}:${ODOO_TAG:-18}
|
image: ${ODOO_IMAGE:-odoo}:${ODOO_TAG:-18}
|
||||||
container_name: ${ODOO_CONTAINER:-odoo}
|
container_name: ${ODOO_CONTAINER:-odoo}
|
||||||
# user: root
|
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
ports:
|
ports:
|
||||||
- ${ODOO_PORT:-8069}:8069
|
- ${ODOO_PORT:-8069}:8069
|
||||||
# - "${ODOO_CHAT_PORT:-8072}:8072"
|
# - "${ODOO_CHAT_PORT:-8072}:8072"
|
||||||
tty: true
|
tty: true
|
||||||
command: --
|
command: --
|
||||||
environment:
|
environment:
|
||||||
- HOST=db
|
- HOST=${HOST:-localhost}
|
||||||
- USER=${PG_USER:-changeme}
|
- USER=${PG_USER:-changeme}
|
||||||
- PASSWORD=${PG_PASS:-password}
|
- PASSWORD=${PG_PASS:-password}
|
||||||
volumes:
|
volumes:
|
||||||
@ -20,16 +17,4 @@ services:
|
|||||||
- ${ODOO_CONFIG:-./etc}:/etc/odoo
|
- ${ODOO_CONFIG:-./etc}:/etc/odoo
|
||||||
- ${ODOO_BACKUP:-./backup}:/var/lib/odoo/backup
|
- ${ODOO_BACKUP:-./backup}:/var/lib/odoo/backup
|
||||||
restart: always
|
restart: always
|
||||||
db:
|
|
||||||
image: postgres:16
|
|
||||||
# user: root
|
|
||||||
environment:
|
|
||||||
- POSTGRES_USER=${PG_USER:-changeme}
|
|
||||||
- POSTGRES_PASSWORD=${PG_PASS:-password}
|
|
||||||
- POSTGRES_DB=postgres
|
|
||||||
ports:
|
|
||||||
- ${PG_PORT:-5432}:5432
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- ${PG_DATA:-./postgresql}:/var/lib/postgresql/data
|
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ ODOO_CONTAINER =
|
|||||||
ODOO_ADDONS=./addons
|
ODOO_ADDONS=./addons
|
||||||
ODOO_CONFIG=./etc
|
ODOO_CONFIG=./etc
|
||||||
ODOO_BACKUP=./backup
|
ODOO_BACKUP=./backup
|
||||||
|
HOST=
|
||||||
#Database
|
#Database
|
||||||
PG_PORT=
|
PG_PORT=
|
||||||
PG_USER=
|
PG_USER=
|
||||||
|
Loading…
Reference in New Issue
Block a user