Skip to content

Commit 53a4f5b

Browse files
Run update.sh
1 parent ee4f20c commit 53a4f5b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

odoo/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ services:
145145
db:
146146
image: postgres:10
147147
environment:
148+
- POSTGRES_DB=postgres
148149
- POSTGRES_PASSWORD=odoo
149150
- POSTGRES_USER=odoo
150-
- POSTGRES_DB=postgres
151151
```
152152
153153
If the default postgres credentials does not suit you, tweak the environment variables:
@@ -168,9 +168,9 @@ services:
168168
mydb:
169169
image: postgres:10
170170
environment:
171-
- POSTGRES_USER=odoo
172-
- POSTGRES_PASSWORD=myodoo
173171
- POSTGRES_DB=postgres
172+
- POSTGRES_PASSWORD=myodoo
173+
- POSTGRES_USER=odoo
174174
```
175175
176176
Here's a last example showing you how to mount custom addons, how to use a custom configuration file and how to use volumes for the Odoo and postgres data dir:
@@ -191,6 +191,7 @@ services:
191191
db:
192192
image: postgres:10
193193
environment:
194+
- POSTGRES_DB=postgres
194195
- POSTGRES_PASSWORD=odoo
195196
- POSTGRES_USER=odoo
196197
- PGDATA=/var/lib/postgresql/data/pgdata

0 commit comments

Comments
 (0)