You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: odoo/README.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -145,9 +145,9 @@ services:
145
145
db:
146
146
image: postgres:10
147
147
environment:
148
+
- POSTGRES_DB=postgres
148
149
- POSTGRES_PASSWORD=odoo
149
150
- POSTGRES_USER=odoo
150
-
- POSTGRES_DB=postgres
151
151
```
152
152
153
153
If the default postgres credentials does not suit you, tweak the environment variables:
@@ -168,9 +168,9 @@ services:
168
168
mydb:
169
169
image: postgres:10
170
170
environment:
171
-
- POSTGRES_USER=odoo
172
-
- POSTGRES_PASSWORD=myodoo
173
171
- POSTGRES_DB=postgres
172
+
- POSTGRES_PASSWORD=myodoo
173
+
- POSTGRES_USER=odoo
174
174
```
175
175
176
176
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:
0 commit comments