Skip to content

Commit

Permalink
trả về
Browse files Browse the repository at this point in the history
trả về
  • Loading branch information
nguyenduchoai committed Jul 5, 2021
1 parent d47d0df commit 8f79624
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .history/docker-compose_20210705104828.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: '2'
services:
db:
image: postgres:13
# container_name: postgres13
environment:
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
- POSTGRES_DB=postgres
restart: always # run as a service
volumes:
- ./postgresql:/var/lib/postgresql/data

odoo14:
image: odoo:14
# container_name: odoo14
depends_on:
- db
ports:
- "10014:8069"
tty: true
command: -- --dev=reload
# command: odoo scaffold /mnt/extra-addons/custom_module
environment:
- HOST=localhost
- POSTGRES_DB=1313odoo
- USER=1313odoo
- PASSWORD=odoo
volumes:
- ./addons:/mnt/extra-addons
- ./etc:/etc/odoo
restart: always # run as a service

15 changes: 14 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
version: '2'
services:
db:
image: postgres:13
# container_name: postgres13
environment:
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
- POSTGRES_DB=postgres
restart: always # run as a service
volumes:
- ./postgresql:/var/lib/postgresql/data

odoo14:
image: odoo:14
# container_name: odoo14
depends_on:
- db
ports:
- "10014:8069"
tty: true
Expand All @@ -12,7 +25,7 @@ services:
- HOST=localhost
- POSTGRES_DB=1313odoo
- USER=1313odoo
- PASSWORD=52pLGrZzfZY7
- PASSWORD=odoo
volumes:
- ./addons:/mnt/extra-addons
- ./etc:/etc/odoo
Expand Down

0 comments on commit 8f79624

Please sign in to comment.