feat: update gitignore, add pg version and example env file

This commit is contained in:
Matt Marcha 2024-12-23 15:18:15 -10:00
parent 118b80275c
commit 46f0f7433f
3 changed files with 8 additions and 1 deletions

3
.env.dist Normal file
View file

@ -0,0 +1,3 @@
ODOO_VERSION=17.0
COMMAND=-d odoo
PG_VERSION=14.12 #Moved to 14.15 in Odoo 18

4
.gitignore vendored
View file

@ -1 +1,5 @@
.env
.odoo/
.enterprise/
.modules/
.idea/

View file

@ -12,7 +12,7 @@ services:
- ./enterprise:/mnt/enterprise
command: "odoo ${COMMAND}"
db:
image: postgres:14.12
image: "postgres:${PG_VERSION}"
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=odoo