diff --git a/.env.dist b/.env.dist new file mode 100644 index 0000000..e7cff81 --- /dev/null +++ b/.env.dist @@ -0,0 +1,3 @@ +ODOO_VERSION=17.0 +COMMAND=-d odoo +PG_VERSION=14.12 #Moved to 14.15 in Odoo 18 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 4c49bd7..1c2c066 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ .env +.odoo/ +.enterprise/ +.modules/ +.idea/ \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index c3c59ef..d4f5ef1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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